WP Upload Restriction

Description

This plugin allows you to restrict your site users from uploading files of certain types and control the maximum file upload size. Administrator can select the file types and file upload limit by user role. This plugin restricts users from uploading unwanted files using the WordPress media uploader.

It is very simple to use. You will be able give permissions role wise. To restore WordPress’s default selection, just deactivate the plugin.

Any issue? Please let me know (http://sajjadhossain.com/contact-me/).

Screenshots

  • Settings - Restriction page
  • Settings - Custom File Type management page

Installation

  1. Upload wp-upload-restriction folder to the plugins directory (/wp-content/plugins/).
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > WP Upload Restriction settings page.
  4. Check/uncheck the extensions you want to allow/deny for each role.
  5. Check “Restrict upload size to” checkbox to restrict file upload size and enter the file size in MB.
  6. Save the changes.

To return back to WordPress’s default selection, just deactivate the plugin.

FAQ

Installation Instructions
  1. Upload wp-upload-restriction folder to the plugins directory (/wp-content/plugins/).
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > WP Upload Restriction settings page.
  4. Check/uncheck the extensions you want to allow/deny for each role.
  5. Check “Restrict upload size to” checkbox to restrict file upload size and enter the file size in MB.
  6. Save the changes.

To return back to WordPress’s default selection, just deactivate the plugin.

Reviews

Works well but needs one enhancement

Role based permissions is great – but need to be able to implement the rules site wide. Got a heap of roles so it isn’t feasible to update role by role.

The mime restrictions didn’t work for me, but the size was perfect. Didnt look into conflicts with other plugins

Read all 3 reviews

Contributors & Developers

“WP Upload Restriction” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.0

  • New feature: Added option for managing custom file type.
  • UI improvements

2.1.0

  • Role wise file upload size restriction added.
  • Fixed some minor issues.

2.0.1

  • Fixed design break in settings page.

2.0.0

  • Restructured the plugin to add role wise restriction.