🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
PTP Private Media icon
Actively maintained Tested with WP 7.1 #1 in file access control

PTP Private Media

Protect WordPress media files with access controls, secure delivery, temporary share links, and SEO indexing protection.

Active installs20+10+ tier
Downloads · 30d331▲ +185.3% vs prev. 30d
Rating1/51 reviews
Health score51/100Fair
All-time downloads789Since Jun 2026
Support resolved0 / 20% in last 2 months
RequiresWP 6.1PHP 8.0+
Downloads · 7d38▼ -68.9% week over week
Our verdict

Use with caution

PTP Private Media works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites, is rated 1/5 and was last updated 2 weeks ago, and scores 51/100 on our health check.

  • Actively developed — last update 2 weeks ago
  • Tested with the latest WordPress (7.1)
  • Small user base (20+ active installs)
  • Very few reviews so far

Daily downloads

153045Sep 4Oct 18Dec 2
Yesterday8
Daily average (1y)5
Peak day60Nov 22, 2026
Last 12 months791

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where PTP Private Media stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
file access control >100 6,556 Best file access control plugins →
media library >100 7,008 Best media library plugins →
media protection >100 1,920 Best media protection plugins →
private media #30 2,391 Best private media plugins →
secure files >100 5,769 Best secure files plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

Rating breakdown

★★★★★★★★★★ 1 from 1 reviews

  • 5★0.00%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★100.0%

About PTP Private Media

From the official readme · v1.2.1

Description

PTP Private Media gives you full control over who can access your WordPress media files. Stop search engines, bots, and unauthorised visitors from downloading your protected images, PDFs, videos, or documents.

Author: Umang Prajapati | WordPress Profile | GitHub

Core Features

🔐 Real Server-Level Media Protection
* Automatically writes per-file .htaccess rules to block direct /wp-content/uploads/ access to every protected file and all its generated thumbnail sizes
* Built-in Direct File Protection Self-Test on the Dashboard verifies live whether direct access is blocked
* Public files continue to be served natively by Apache with zero PHP overhead
* Copy-paste Nginx configuration rules provided in the Dashboard

👥 Fine-Grained Access Control
Set a protection level for every file in the Media Library or Block Editor:

  • Public – standard WordPress behaviour
  • Logged-in users only – any authenticated user
  • Specific roles – choose from all registered WordPress roles (Admin, Editor, Subscriber, etc.)
  • Password protected – custom password per file
  • Restrict to posts/pages – only accessible when referred from specific content

🔗 Permanent Embedded URLs + Optional Temporary Share Links
* Embedded media in posts, pages, and blocks uses a permanent dynamic endpoint (example.com/restricted-media/{file-id}/) that never expires and checks user permissions live on every request
* Optional Temporary Share Links (example.com/restricted-media/{file-id}/{token}/) let you generate HMAC-SHA256 signed, time-limited links when sharing externally
* Hotlink protection prevents embedding on external domains
* Optional IP-address binding for temporary share tokens

🚫 SEO & Indexing Protection
* X-Robots-Tag: noindex, nofollow header on all protected file requests
* Optional Disallow entries in robots.txt for the uploads directory
* Disable and redirect WordPress media attachment pages
* wp_robots API integration for attachment pages

📂 Seamless Media Library & Block Editor Integration
* Single, unified Protection Settings panel in the Media Library Grid popup, Block Editor sidebar, and Classic Attachment Edit screen
* Auto-saves settings when changing Access Type or Allowed Roles
* Protection status column (Protected / Public / Password / Role) in list view
* Bulk Actions: protect multiple files, change access rules, make public

⚡ Performance
* Full HTTP Range (206 Partial Content) streaming support for HTML5 video and audio seeking of any size
* Chunked streaming for large files above configurable threshold
* Object cache support with cache invalidation on settings change
* Scheduled cleanup of expired tokens and old access logs

Installation

  1. Upload the ptp-private-media folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen.
  3. Visit PTP Private Media → Dashboard to confirm Direct File Protection Status shows Active.
  4. Open any media file in the Media Library or Block Editor and set its protection level.
  5. If using Nginx, add the server block rules shown in the Dashboard.
  6. Re-save your Permalink Settings (Settings → Permalinks) if protected URLs return 404.

Changelog

Major reliability update: fixes expiring embedded media links (now permanent dynamic URLs), adds real per-file .htaccess blocking for /uploads/ with a live Dashboard self-test, fixes duplicate/cropped Media Modal UI, restores Protection Settings in the Media Library Grid popup, and adds auto-save with live Block Editor video support. Safe to update directly from 1.2.0.

1.2.1

  • Fix: Embedded protected media no longer expires after 1 hour. Protected attachments now use a permanent dynamic endpoint (/restricted-media/{id}/) that evaluates live user permissions on every request, while expiring HMAC tokens remain available as optional Temporary Share Links.
  • Fix: Direct /wp-content/uploads/ access to protected files (and all generated thumbnail sub-sizes + original unscaled images) is now genuinely blocked via per-file .htaccess RewriteRule rules synced automatically on save, bulk action, and deletion.
  • Feature: Added an automated Direct File Protection Self-Test on the Dashboard (with a one-click Re-test button) that verifies whether direct /uploads/ access returns HTTP 403 and displays exact Nginx/Apache rules if server configuration is required.
  • Fix: Media Library Grid popup (upload.php?item=ID) now properly displays the Protection Settings panel by extending wp.media.view.Attachment.Details.TwoColumn in addition to Attachment.Details.
  • Fix: Eliminated duplicate Protection Settings panels in the Block Editor / Media Modal sidebar by removing the redundant .compat-field-urma_protection row once the JS panel mounts.
  • Fix: Fixed cropped Generate button and hidden Copy button in narrow Media Modal sidebars by using a responsive stacked layout inside .urma-secure-url-section.
  • Fix: Editing Access Type or Allowed Roles in the Block Editor now auto-saves and updates the Backbone attachment model URL live without breaking embedded Video/Image blocks.
  • Fix: Enabled HTTP Range (206 Partial Content) support whenever a Range header is sent, ensuring HTML5 <video> and <audio> playback and seeking work reliably for files of any size.
  • Fix: Preserved existing password hash when updating a password-protected attachment with a blank password field.
  • Fix: Default Protection setting (urma_default_protection) is now automatically applied to newly uploaded attachments.

1.2.0

  • Compatibility: Tested with WordPress 7.1.4 and PHP 8.4.
  • Fix: Multi-role protection settings were silently dropped to a single role when saving from the Attachment Details dialog (media modal grid view).
  • Fix: Protection settings edited in the Block editor “Open Media Library” panel were never saved.
  • Fix: Block editor media panel did not pre-populate the current role selections when re-opening an attachment.
  • Fix: Secure URL section (Generate / Copy / Revoke) was missing from the media modal popup and Block editor media sidebar.
  • Fix: Rate limit on the secure URL generation AJAX endpoint raised from 30 to 120 requests per minute.

1.1.0

  • Compatibility: Requires PHP 8.0+ and WordPress 6.1+.
  • Fix: Access log retention cron now auto-purges logs based on retention period.
  • Fix: Password form POST now verifies the nonce before processing.
  • Security: Session identifiers for anonymous password access use random_bytes(16).

1.0.0

  • Initial release.

Full changelog on WordPress.org →

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.

Active installs badge Rating badge Health score badge

FAQ

PTP Private Media: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is PTP Private Media free?

Yes. PTP Private Media is free to download and use from the official WordPress.org plugin directory.

Is PTP Private Media safe to use in 2026?

PTP Private Media works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites, is rated 1/5 and was last updated 2 weeks ago, and scores 51/100 on our health check.

How many websites use PTP Private Media?

PTP Private Media is active on 20+ WordPress websites and has been downloaded 789 times since it launched in June 2026. It was downloaded 331 times in the last 30 days.

Does PTP Private Media work with WordPress 7.1?

Yes. The developer has tested PTP Private Media up to WordPress 7.1.5, the latest release. It requires WordPress 6.1 or newer.

What PHP version does PTP Private Media need?

PTP Private Media requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was PTP Private Media last updated?

The latest version, 1.2.1, was released on November 22, 2026 (2 weeks ago).

Who makes PTP Private Media?

PTP Private Media is developed and maintained by Umang Prajapati.

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

↑↓ to move↵ to open