WordPress plugin intelligence profile

PTP Private Media

Protect WordPress media files with token-based secure delivery, fine-grained access control, and SEO indexing protection.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.1.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.1 · PHP 8.0
Directory statusactive
Last directory update6 Sept 20261mo ago
Active installations20Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records PTP Private Media version 1.1.0 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

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

🔐 Media Protection System

* Prevent direct URL access to files in /wp-content/uploads/

* Files are served through a secure PHP handler, not exposed directly

htaccess rules block direct file access on Apache servers

* Guidance provided for Nginx configurations

👥 Fine-Grained Access Control

Set a protection level for every file in the Media Library:

  • 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

🔗 Secure File Delivery

* Replace original media URLs with HMAC-signed, time-limited token URLs

com/ptp-restricted-media/{file-id}/{token}/

* Configurable token expiry (default: 1 hour)

* Hotlink protection prevents embedding on external domains

* Optional IP-address binding for tokens

🚫 SEO & Indexing Protection

* X-Robots-Tag: noindex, nofollow header on all protected file requests

txt for the uploads directory

* Disable and redirect WordPress media attachment pages

* wp_robots API integration for attachment pages

📂 Media Library Integration

* Protection Settings panel on every attachment edit screen

* Protection status column ( Protected / Public / Password / Role ) in list view

* Bulk Actions: protect multiple files, change access rules, make public

⚡ Performance

* Chunked streaming with HTTP Range support for large video/audio files

* Configurable file-size threshold for streaming vs. single-pass delivery

* Object cache support with cache invalidation on settings change

* Scheduled cleanup of expired tokens and old access logs

🛡️ Security

* HMAC-SHA256 signed tokens using WordPress secret keys

* Nonce verification on all AJAX requests and form actions

* All input sanitized and output escaped per WordPress standards

* No direct file inclusion; ABSPATH check on every file

php

Nginx Support

htaccess rules are written automatically for Apache, the plugin provides the correct Nginx configuration block in the admin dashboard for manual setup.

WooCommerce Compatibility

The access control system is designed to work alongside WooCommerce. Future versions will include native purchase-based access checks.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • file access control
  • media library
  • media protection
  • secure files
  • token url
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.1 · PHP 8.0
Update activity6 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version1.0.01.1.0
WordPress compatibility7.0.47.1
WordPress requirement6.06.1
PHP requirement7.48.0
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.