Private Media
Ever wanted to make your media truely private? Make sure images, videos and other files are only accessible to chosen roles, or cannot be hotlinked, with permissions specifically set per item.
Consider an alternative
Private Media shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 8 years ago, and scores 20/100 on our health check.
- Small user base (40+ active installs)
- Very few reviews so far
- No update in 7 years
- Only tested up to WordPress 4.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Private Media stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| media | >100 |
| private | >100 |
| uploads | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Private Media
From the official readme · v1.2Description
Ever wanted to make your media truely private? Make sure images, videos and other files are only accessible to chosen roles, or cannot be hotlinked, with permissions specifically set per item.
This plugin adds the following major features to WordPress:
- Media Privacy: Lock access to items in the Media Library by preventing hotlinks only or by limiting access to files to selected user roles.
- User-friendly forbidden handler: Images set to private do not break on the frontend. Instead, they are replaced by a simple access denied SVG picture – the forbidden handler can be replaced using the filter hooks
pvtmed_forbidden_response_content(apply_filters( 'pvtmed_forbidden_response_content', $forbidden_response_content, $file );) andpvtmed_forbidden_mimetype(apply_filters( 'pvtmed_forbidden_mimetype', 'image/svg+xml' );). - Customizable for more granularity: Restricted media will be checked for autorization – plugin developers can hook into the
pvtmed_is_authorizedfilter (apply_filters( 'pvtmed_is_authorized', $authorized, $attachment_id );) to apply more complex conditions for authorization. - Optimized private media delivery: Files with access restriction are served using streams without loading the file entirely in memory before delivery, and WordPress files are loaded as lightly as possible for an optimised server memory usage.
- Fallbacks: Restricted files are kept in an alternate
wp-content/pvtmed-uploadsfolder (or equivalent ifWP_CONTENT_DIRis not the default) ; fallbacks are in place to make sure:- moving a media to private does not break previously embedded media (javascript dynamic fallback with notice on post edit screen – Classic Editor only).
- deactivating the plugin does not break previously embedded media (database update).
- deleting the plugin does not break previously embedded media (database update).
A Must Use Plugin pvtmed-endpoint-optimizer.php is installed automatically to make sure WordPress is loaded as lightly as possible when requesting restricted media items. Developers can safely edit it to enable their plugin to execute during such request if necessary.
The media privacy policy is set per media item – therefore, this plugin is not a replacement for general image hotlink prevention plugins, but is ideal for anyone looking for preventing direct links to files depending on specific conditions.
Installation
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/private-mediadirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Edit Media Privacy Settings on media items in the Media Library
Changelog
1.2
- Add
pvtmed_private_upload_urlandpvtmed_htaccess_rulesfilters (see this support request for details)
1.1
- Bump version – supported by WordPress 5.0 (post edit screen fallbacks only in Classic Editor)
1.0
- First version
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Private Media alternatives
All media plugins →FAQ
Private Media: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Private Media free?
Yes. Private Media is free to download and use from the official WordPress.org plugin directory.
Is Private Media safe to use in 2026?
Private Media shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 8 years ago, and scores 20/100 on our health check.
How many websites use Private Media?
Private Media is active on 40+ WordPress websites and has been downloaded 3,694 times since it launched in September 2018. It was downloaded 146 times in the last 30 days.
Does Private Media work with WordPress 7.1?
Private Media is officially tested up to WordPress 4.9.36, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Private Media need?
Private Media requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Private Media last updated?
The latest version, 1.2, was released on January 22, 2019 (8 years ago).
Who makes Private Media?
Private Media is developed and maintained by Alexandre Froger.
What are the best alternatives to Private Media?
The most popular alternatives to Private Media are Safe SVG (1M+ installs), FileBird (200K+ installs) and Media Cleaner: Delete Unuse… (90K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
