Restrict maximum upload file size and block dangerous extensions at upload time. Ensures early-stage validation for enhanced WordPress media security.
As of April 2026, Media File Limiter is a WordPress mime plugin with 0 active installations and a 0/5 rating0. It has been downloaded 187 times in total. Requires WordPress 6.8+ and PHP 7.4+. Available on WordPress.org since 2025. Top alternative: Safe SVG.
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 translat…
| WordPress | 6.8+ requiredTested up to 6.8.5 |
| PHP | 7.4+ required |
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.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.