Media File Limiter
Restrict maximum upload file size and block dangerous extensions at upload time. Ensures early-stage validation for enhanced WordPress media security.
Consider an alternative
Media File Limiter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
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 File Limiter stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| file size | >100 |
| media | >100 |
| mime | >100 |
| security | >100 |
| upload | >100 |
Version adoption
Share of active sites per release.
About Media File Limiter
From the official readme · v1.0Description
Media File Limiter is a lightweight and efficient plugin designed to strengthen your WordPress upload security.
It limits the maximum upload file size (in MB) and blocks specific dangerous file extensions (e.g., .exe, .php, .html, .js), preventing malicious or oversized files from being uploaded to your media library.
Unlike traditional file validation, this plugin operates at the earliest possible stage of the upload process via the wp_handle_upload_prefilter hook, ensuring that dangerous files are blocked before WordPress processes them.
Key Features
Set a custom maximum upload size (in MB).
Define forbidden file extensions (comma-separated).
Displays current PHP/WordPress upload limits for reference.
Early-stage security enforcement — before files reach media processing.
Fully translatable and internationalized (media-file-limiter text domain).
Compatible with multisite environments.
Why This Plugin?
WordPress allows large files and executable extensions under certain misconfigurations, which can lead to:
Server performance degradation.
Potential remote code execution (RCE) risks.
Media library clutter and upload errors.
Media File Limiter addresses these issues with a simple, configurable interface under the WordPress “Settings → Media Limit” page.
License
This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or any later version.
This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Additional Notes
The plugin follows WordPress Coding Standards (WPCS).
All options use the Settings API (register_setting / add_settings_field).
Security first: early execution priority (wp_handle_upload_prefilter, priority 1).
Uninstall hook (register_uninstall_hook) ensures full cleanup.
Installation
-
Upload the plugin files to the /wp-content/plugins/media-file-limiter/ directory, or install the plugin via the WordPress plugins screen directly.
-
Activate the plugin through the ‘Plugins’ screen in WordPress.
-
Navigate to Settings → Media Limit to configure:
-
Maximum upload size (MB)
-
Forbidden file extensions (comma-separated)
Changelog
Initial release. Please configure settings under Settings > Media Limit after activation.
1.0
Initial release.
Added:
Maximum file size limit setting.
Forbidden extensions list (comma-separated).
Early upload filtering using wp_handle_upload_prefilter.
Uninstall cleanup for stored options.
Admin settings UI with contextual help and current PHP limit display.
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 File Limiter alternatives
All file size plugins →FAQ
Media File Limiter: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Media File Limiter free?
Yes. Media File Limiter is free to download and use from the official WordPress.org plugin directory.
Is Media File Limiter safe to use in 2026?
Media File Limiter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.
How many websites use Media File Limiter?
Media File Limiter is active on 10+ WordPress websites and has been downloaded 495 times since it launched in November 2025. It was downloaded 63 times in the last 30 days.
Does Media File Limiter work with WordPress 7.1?
Media File Limiter is officially tested up to WordPress 6.8.13, 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 File Limiter need?
Media File Limiter requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Media File Limiter last updated?
The latest version, 1.0, was released on November 5, 2025 (1 year ago).
Who makes Media File Limiter?
Media File Limiter is developed and maintained by teamredfox.
What are the best alternatives to Media File Limiter?
The most popular alternatives to Media File Limiter are Media Library File Size (6K+ installs), WP Upload Size (2K+ installs) and Disk Usage Insights (1K+ 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

