PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free
Media Restriction icon
Maintained Tested up to 7.0.9 #18 in Activity Log

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…

Active installs70+10+ tier
Downloads · 30d200▲ +41.8% vs prev. 30d
Rating—0 reviews
Health score47/100Fair
All-time downloads1.5KSince May 2025
Support resolved—No recent threads
RequiresWP 5.0PHP 7.4+
Downloads · 7d56▲ +16.7% week over week
Our verdict

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

Daily downloads

71421Aug 21Oct 4Nov 18
Yesterday11
Daily average (1y)3
Peak day38May 10, 2026
Last 12 months1.1K

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

Rankings

Where Media Restriction stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
Activity Log >100 2,756 Best Activity Log plugins →
media >100 10,000 Best media plugins →
media library >100 6,624 Best media library plugins →
Restriction #50 3,014 Best Restriction plugins →
roles >100 7,527 Best roles plugins →

Version adoption

Share of active sites per release.

  • 2.1100.0%

About Media Restriction

From the official readme · v2.1.0

Description

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

Full changelog on WordPress.org →

Screenshots

Media restrict settings page.
Media restrict settings 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 Media Restriction alternatives

All Activity Log plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Activity Log WP Activity Log The #1 user-rated activity log plugin for event logging, activity monitoring and change… by Melapress 300K+ ★★★★★★★★★★ 4.7 (493) 2 weeks ago 94
2 Activity Log – Monitor User and Agent Changes Activity Log – Monitor User and Agent Changes Monitor every change on your WordPress site — who did what, when, and where it came from —… by Elementor 200K+ ★★★★★★★★★★ 4.3 (74) 3 weeks ago 93
3 Stream – Activity Log & Audit Trail Stream – Activity Log & Audit Trail Real-time activity log and audit log for WordPress. Track every user action — logins… by XWP 70K+ ★★★★★★★★★★ 4.3 (76) 3 days ago 77
4 Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning Shield Security Smart WordPress security that blocks bots automatically, guides you to what matters, and… by Paul 30K+ ★★★★★★★★★★ 4.8 (1K) 3 weeks ago 94
5 User Activity Tracking and Log User Activity Tracking and Log Track time and monitor user activity & history on your website, LMS online learning system… by Moove Agency 2K+ ★★★★★★★★★★ 3.5 (34) 1 month ago 66
6 Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity Activity Logs, User Activity Tracking, Multisite Activity L… Logtivity is the activity log service for WordPress admins. Track user activity and site… by Logtivity Activity Logs 2K+ ★★★★★★★★★★ 5 (4) 2 weeks ago 82
7 BetterShield – Security Audit, Hardening, 2FA & Passkeys BetterShield – Security Audit, Hardening, 2FA & Passkeys Free WordPress security audit with 30 hardening fixes you can undo, 2FA, passkeys, login… by WPDeveloper 1K+ ★★★★★★★★★★ 5 (1) 10 hours ago 77
8 WP Admin Audit WP Admin Audit WP Admin Audit monitors the security-relevant activities on your site, keeps an event log… by brandtoss 1K+ ★★★★★★★★★★ 3.7 (6) 2 months ago 73
9 Login Armor Login Armor Thirteen security modules + AI briefing: hide login, request firewall, brute force, 2FA… by wpformation 600+ ★★★★★★★★★★ 5 (6) 3 weeks ago 86
10 Activity Log Pro – User Activity Log, Audit Log & Security Monitor Activity Log Pro WordPress activity log & admin user tracking. Track logins, content changes, and security… by Activity Log Pro 400+ ★★★★★★★★★★ 5 (15) 1 month ago 78

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

↑↓ to move↵ to open