Media Restriction
Media Restriction is a lightweight and powerful WordPress plugin that gives site admins full control over who can see what in the Media Library. Restrict access by user role so that users only see their own uploads…
Use with caution
Media Restriction works, but test it on a staging site before relying on it in 2026. It runs on 70+ sites and was last updated 6 months ago, and scores 47/100 on our health check.
- Small user base (70+ 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 Media Restriction stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| Activity Log | >100 |
| media | >100 |
| media library | >100 |
| Restriction | #50 |
| roles | >100 |
Version adoption
Share of active sites per release.
About Media Restriction
From the official readme · v2.1.0Description
Media Restriction is a lightweight and powerful WordPress plugin that gives site admins full control over who can see what in the Media Library. Restrict access by user role so that users only see their own uploads, exclude trusted individuals from the restriction, and keep a full audit trail of every upload, deletion, and library view — all from a clean, modern settings panel.
Whether you manage a multi-author blog, an online course platform, a membership site, or a client project — Media Restriction ensures your media library stays tidy, private, and secure.
What makes v2.0.0 different:
Version 2.0.0 is a complete rebuild. The settings page has been redesigned with a tabbed interface and instant role toggles (no page reloads). A new Activity Log records every media event with user, file name, IP address, and timestamp. REST API protection closes the Gutenberg and headless bypass that most similar plugins miss entirely. And a critical bug affecting excluded users in the grid view has been resolved.
🌟 Features
Core restriction
✅ Restrict media library access by user role
✅ Works in both grid view (media modal) and list view (Media Library screen)
✅ Administrators always have full access — no configuration needed
✅ Exclude specific users from restriction — grant bypass access to trusted individuals regardless of their role
✅ REST API protection — /wp/v2/media respects the same restriction rules, covering Gutenberg and headless setups
Settings & admin
✅ Modern tabbed settings page — Roles & Users and Activity Log in one place
✅ Instant role toggles — enable or disable restriction per role without a page reload
✅ Live status badges on each role card showing user count and restriction state
✅ Header summary showing how many roles are restricted and users excluded
Activity log
✅ Tracks all upload, delete, and view events automatically
✅ Records user, file name, IP address, and timestamp for every event
✅ Displays the latest 30 entries in a clean admin table
✅ One-click clear log with confirmation prompt
Compatibility & clean code
✅ Works with default WordPress roles and any custom roles (LMS, membership, WooCommerce, etc.)
✅ Compatible with Gutenberg block editor, classic editor, and headless setups
✅ Restricted users can still upload and manage their own files — restriction is visibility only
✅ No impact on existing media files — the plugin never modifies or deletes files
✅ Clean uninstall — removes all plugin options and database tables on deletion
🧠 Use Cases
Online Learning Platforms (LMS):
Prevent instructors from seeing or using each other’s uploaded course files. Exclude trusted course managers so they retain full access.
Client Sites & Freelancers:
Limit clients to only their own media uploads, keeping your own assets private and the library uncluttered.
Multi-Author Blogs:
Ensure each contributor only sees their own images and uploads. Exclude editors who need to manage all media.
Membership or Community Sites:
Allow members to upload profile or content images but restrict them from browsing admin or other members’ uploads.
Agencies & Teams:
Give designers and content editors restricted media access while allowing project leads or account managers full visibility.
Changelog
Major update. Deactivate and reactivate the plugin after upgrading — activation creates the Activity Log database table. All existing restriction settings are preserved.
2.0.0
- Complete UI redesign — modern tabbed settings page with instant AJAX role toggles and live status badges
- New: Activity Log — tracks all upload, delete, and view events with user, file, IP, and timestamp
- New: REST API restriction — /wp/v2/media endpoint now respects role-based restrictions
- Fixed: Excluded users were incorrectly restricted in the grid view (media modal) due to a type mismatch between stored user IDs (strings) and get_current_user_id() (integer)
- Fixed: WordPress core re-injects the author constraint after ajax_query_attachments_args — resolved via posts_where hook with unconditional strip for grid context
- Improved: Settings page now uses AJAX for both role toggles and excluded user saves — no full page reload required
- Requires PHP 7.4 or higher
1.0.3
- Removed extra tags
1.0.2
- Added GitHub Action
1.0.1
- Updated readme
1.0.0
- Initial release
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 Media Restriction alternatives
All Activity Log plugins →FAQ
Media Restriction: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Media Restriction free?
Yes. Media Restriction is free to download and use from the official WordPress.org plugin directory.
Is Media Restriction safe to use in 2026?
Media Restriction works, but test it on a staging site before relying on it in 2026. It runs on 70+ sites and was last updated 6 months ago, and scores 47/100 on our health check.
How many websites use Media Restriction?
Media Restriction is active on 70+ WordPress websites and has been downloaded 1,502 times since it launched in May 2025. It was downloaded 200 times in the last 30 days.
Does Media Restriction work with WordPress 7.1?
Media Restriction is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Media Restriction need?
Media Restriction requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Media Restriction last updated?
The latest version, 2.1.0, was released on May 21, 2026 (6 months ago).
Who makes Media Restriction?
Media Restriction is developed and maintained by Upluggit.
What are the best alternatives to Media Restriction?
The most popular alternatives to Media Restriction are WP Activity Log (300K+ installs), Activity Log (200K+ installs) and Stream (70K+ 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

