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.
Utiliser avec prudence
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.
- Développé activement — Dernière mise à jour il y a 1 semaine
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where MediaKnight stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| members-only | >100 |
| private files | >100 |
| private media | >100 |
| protect pdf | >100 |
| protect uploads | >100 |
Adoption de version
Part de sites actifs par version.
About MediaKnight
À partir du Lisez-moi officiel · 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.
Journal de modifications
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.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best MediaKnight alternatives
All members-only plugins →FAQ
MediaKnight: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
