MediaKnight – Protect Uploads & Private Media for Logged-in Users
Protect uploads and private media: Media Library PDFs and images open only for logged-in users. Old direct links stop working for visitors.
Use with caution
MediaKnight works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 1 week ago, and scores 55/100 on our health check.
- Actively developed — last update 1 week ago
- Tested with the latest WordPress (7.1)
- Small user base (10+ active installs)
- Very few reviews so far
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 MediaKnight stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| members-only | >100 |
| private files | >100 |
| private media | >100 |
| protect pdf | >100 |
| protect uploads | >100 |
Version adoption
Share of active sites per release.
About MediaKnight
From the official readme · v1.1.0Description
Protect media files in WordPress so only logged-in users can open them.
A WordPress page can be members-only, but the PDFs and images on it still live in the Media Library with a public uploads address. Anyone who has that direct link can open the file, share it further, and leaked links can end up in search results.
MediaKnight closes that gap. Protect a file and it moves out of the public uploads path, so the old direct link stops working for visitors. Logged-in users still open it through a WordPress access check, and protected downloads are sent with noindex headers.
You keep working in the normal Media Library: click Protect, done.
Who it’s for
- Client portals: contracts, reports and deliverables only for clients who log in.
- Course and membership material: workbooks, slides and downloads for logged-in students or members. MediaKnight works with WordPress logins; it does not integrate with a specific LMS or membership plugin.
- Internal documents: handbooks, procedures and HR files for your team’s WordPress accounts.
- Invoices and quotes: PDFs your customers open after logging in, not via a forwarded link.
- Photographers: show proofs to clients who log in, without the image files being openable by anyone with the URL.
What the free plugin does
The free plugin works on its own, with no account, payment, trial expiry or file quota.
- Protect and unprotect files from the Media Library list and the attachment editor.
- Logged-in access to protected files, and continued enforcement of previously saved role restrictions.
- Protects registered image sizes, originals and editing backups, not just the main file.
- Check server protection: an anonymous test that confirms the direct link is really blocked on your hosting.
- Apache works out of the box when .htaccess rules are allowed; on Nginx your host adds a short snippet the plugin generates.
- A privacy-safe blocked-file page in the visitor’s supported browser language, with English fallback and optional local MediaKnight branding.
- Controlled downloads with noindex headers and HTTP Range support for large files.
- Interface translations come from translate.wordpress.org language packs; no translation files are bundled with the plugin.
- Safe recovery and revocation of existing signed links from a separate extension or earlier installation.
MediaKnight Pro (optional)
Everything described above is free and stays free: no account, quota or expiry. MediaKnight Pro is a separate add-on for sites that need more control: choose which WordPress roles can open each file, protect files in bulk, protect new uploads automatically, and share temporary, revocable links with optional click limits.
Try Pro for free — features and pricing: https://plugins.vivango.com/mediaknight/#plans
If Pro ends, your saved protection rules stay in place and files remain protected by the free plugin. Existing role restrictions are not broadened to all logged-in users.
Pro is distributed outside WordPress.org. The free plugin contains no Pro licensing client or locked Pro implementation and does not download/install that extension. The optional Freemius connection and its data sharing are explained below.
Technical details
- Protected files and their registered variants move to
wp-content/uploads/mediaknight/(the mediaknight folder inside your uploads directory); attachment metadata is updated and the attachment stays in the Media Library. - The files MediaKnight creates are kept in that folder: protected media, its access rule (.htaccess), an empty index.php, a lock file and, only if your host has enabled it, the Apache collector’s working files. Outside that folder, the plugin only adds one marked block to the .htaccess file of the uploads directory on Apache.
- Self-repair: MediaKnight checks its own helper files on normal WordPress requests and recreates them if they are missing. It never overwrites a file it did not create. If a helper cannot be restored, it keeps access closed: its download route returns an error instead of a file, new protection stops and a notice appears on the MediaKnight and Media Library screens.
- Downloads go through WordPress access checks, with HTTP Range streaming. Server requirements for Apache and Nginx, and the cache exclusions, are listed under Installation.
Installation
- Install MediaKnight or upload its ZIP via Plugins > Add New > Upload Plugin. The repository root is not the plugin ZIP.
- Activate per site. In the optional welcome, choose to try Pro or keep using free. Your choice is remembered and starts no registration. Pro is a separate plugin and requires explicit trial confirmation; in Freemius packages it is obtained through the optional Freemius connection. Network activation is not supported in v1.
- Open Settings > MediaKnight and run Check server protection.
- Apache needs writable uploads and AllowOverride permitting access rules and Options -Indexes. Existing unrelated .htaccess content is preserved.
- Nginx users: ask the hosting provider to apply the generated snippet in the existing server block, validate with nginx -t and reload. Then repeat the check. The generated snippet is shown in Settings > MediaKnight and also lists the cache exclusions from step 6. A proxy/CDN serving uploads must also enforce protection.
- Exclude the MediaKnight admin-post error routes, ?mediaknight_denied=1, ?mediaknight_missing=1, ?mediaknight_download=… and /mediaknight-download/ from page, proxy and CDN caches. Purge any previously public copies.
- In Media Library choose Protect, or edit an attachment to choose logged-in access. File-management actions require manage_options and edit_post for that attachment.
Changelog
Moves protected files from uploads/mlp-protected/ to uploads/mediaknight/ and migrates settings; files stay blocked for visitors. Back up first. On Nginx, apply the newly generated snippet and run Check server protection again.
1.1.0
- Continue enforcing per-user and role access rules saved with Pro.
- Strengthened security checks for protected file delivery, storage moves, signed links, and admin input.
- Added compatibility testing for PHP 8.6 and WordPress 7.1.5.
1.0.7
- Site owners can customise the blocked-file page title, message, button label, optional log-in button, and additional CSS.
1.0.6
- The per-file protection checkbox now shows “Saving…” and a clear saved or error message, announced to screen readers.
- Saving a file’s protection no longer reloads the page.
1.0.5
- Readme and listing text update
1.0.4
- Updated the Free upgrade copy without changing trial terms.
1.0.3
- Updated Freemius SDK to the latest version
- Added an optional dashboard status widget and local measurement summary.
- Added a visible Pro role option in Free and corrected upgrade navigation.
- Added a live blocked-page preview with neutral guardian branding by default.
Screenshots
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 MediaKnight alternatives
All members-only plugins →FAQ
MediaKnight: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is MediaKnight free?
Yes. MediaKnight is free to download and use from the official WordPress.org plugin directory.
Is MediaKnight safe to use in 2026?
MediaKnight works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 1 week ago, and scores 55/100 on our health check.
How many websites use MediaKnight?
MediaKnight is active on 10+ WordPress websites and has been downloaded 678 times since it launched in October 2026. It was downloaded 396 times in the last 30 days.
Does MediaKnight work with WordPress 7.1?
Yes. The developer has tested MediaKnight up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does MediaKnight need?
MediaKnight requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was MediaKnight last updated?
The latest version, 1.1.0, was released on November 23, 2026 (1 week ago).
Who makes MediaKnight?
MediaKnight is developed and maintained by vivango.
What are the best alternatives to MediaKnight?
The most popular alternatives to MediaKnight are Simple Membership (40K+ installs), Content Control (40K+ installs) and s2Member (8K+ 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
