🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
MediaKnight – Protect Uploads & Private Media for Logged-in Users icon
Actively maintained Tested with WP 7.1 #15 in members-only

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.

Active installs10+10+ tier
Downloads · 30d396▼ -8.8% vs prev. 30d
Rating—0 reviews
Health score55/100Fair
All-time downloads678Since Oct 2026
Support resolved0 / 10% in last 2 months
RequiresWP 6.0PHP 7.4+
Downloads · 7d61▼ -60.9% week over week
Our verdict

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 & support

Daily downloads

142842Oct 13Nov 6Nov 30
Yesterday10
Daily average (1y)14
Peak day56Nov 17, 2026
Last 12 months680

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

Rankings

Where MediaKnight stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
members-only >100 3,153 Best members-only plugins →
private files >100 5,488 Best private files plugins →
private media >100 2,343 Best private media plugins →
protect pdf >100 520 Best protect pdf plugins →
protect uploads >100 3,414 Best protect uploads plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

About MediaKnight

From the official readme · v1.1.0

Description

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

  1. Install MediaKnight or upload its ZIP via Plugins > Add New > Upload Plugin. The repository root is not the plugin ZIP.
  2. 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.
  3. Open Settings > MediaKnight and run Check server protection.
  4. Apache needs writable uploads and AllowOverride permitting access rules and Options -Indexes. Existing unrelated .htaccess content is preserved.
  5. 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.
  6. 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.
  7. 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.

Full changelog on WordPress.org →

Screenshots

Settings > MediaKnight: the server protection check confirms that direct links are blocked on your hosting, with the Nginx setup option and optional blocked-file branding.
Settings > MediaKnight: the server protection check confirms that direct links are…
The one-click Protect action and protection status in the normal Media Library list.
The one-click Protect action and protection status in the normal Media Library list.
The attachment editor: choose logged-in access for a single file.
The attachment editor: choose logged-in access for a single file.
What a logged-out visitor sees on a protected file's link: a privacy-safe blocked-file page in their browser language.
What a logged-out visitor sees on a protected file's link: a privacy-safe blocked-file…
A logged-in client downloads the protected file normally from a client portal page.
A logged-in client downloads the protected file normally from a client portal page.

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

Best MediaKnight alternatives

All members-only plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Simple Membership Simple Membership Simple membership plugin adds membership functionality to your site. Protect members only… by wp.insider 40K+ ★★★★★★★★★★ 4.6 (478) 21 hours ago 91
2 Content Control – The Ultimate Content Restriction Solution! Restrict Content, Create Conditional Blocks & More Content Control Restrict content based on login status, user roles, device type & more. Monetize your… by Daniel Iser 40K+ ★★★★★★★★★★ 4.9 (576) 2 months ago 76
3 s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions s2Member ❤️ Excellent membership plugin! Easy, quick, flexible. Monetize your site with memberships… by Cristián Lávaque 8K+ ★★★★★★★★★★ 4.1 (234) 1 week ago 89
4 SureMembers – Membership & Content Restriction Plugin SureMembers – Membership & Content Restriction Plugin Protect your content, build memberships, and control who sees what on your WordPress site… by Brainstorm Force 2K+ ★★★★★★★★★★ 5 (3) 2 weeks ago 67
5 Membee Login Membee Login Add member authentication and access role management to your WordPress site via Membee's… by DaleAB 400+ ★★★★★★★★★★ 3.4 (5) 3 months ago 66
6 WP Private – Gated Content for Posts & Pages WP Private – Gated Content for Posts & Pages Hide part of a post or page from logged-out visitors and show a login form or login link in… by Namith Jawahar 200+ ★★★★★★★★★★ 5 (3) 5 days ago 76
7 Secret Content Secret Content Easily mark any post or a page as "for logged in members only", hiding it from public view!… by maxemil 100+ ★★★★★★★★★★ 5 (1) 15 years ago 32
8 Simple Membership Menu Simple Membership Menu Simple membership Menu, permits to configure visibility on menu items, following Simple… by gioindahouz 50+ ★★★★★★★★★★ 3.8 (5) 11 years ago 32
9 More Privacy Options More Privacy Options Adds three more levels of privacy(visibility) to the Settings-->Reading page. by David Sader 40+ ★★★★★★★★★★ 3.9 (14) 10 years ago 32
10 f(x) SSL f(x) SSL Simple SSL(HTTPS) Plugin. by David Chandra Purnama 30+ ★★★★★★★★★★ 4.5 (4) 10 years ago 30

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

↑↓ to move↵ to open