Title: WP Upload Restriction
Author: Sajjad Hossain
Published: <strong>20 Abril, 2015</strong>
Last modified: 6 Julho, 2025

---

Procurar plugins

![](https://ps.w.org/wp-upload-restriction/assets/banner-772x250.png?rev=2552505)

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-upload-restriction_fad3d4.svg)

# WP Upload Restriction

 Por [Sajjad Hossain](https://profiles.wordpress.org/msh134/)

[Descarregar](https://downloads.wordpress.org/plugin/wp-upload-restriction.2.3.0.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/wp-upload-restriction/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/wp-upload-restriction/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/wp-upload-restriction/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/wp-upload-restriction/#developers)

 [Suporte](https://wordpress.org/support/plugin/wp-upload-restriction/)

## Descrição

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/).

## Ecrãs

[⌊Settings - Restriction page⌉⌊Settings - Restriction page⌉[

Settings – Restriction page

[⌊Settings - Custom File Type management page⌉⌊Settings - Custom File Type management
page⌉[

Settings – Custom File Type management page

## Instalação

 1. Upload `wp-upload-restriction` folder to the plugins directory (`/wp-content/plugins/`).
 2. Active o plugin através do menu ‘Plugins’ no 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.

## Avaliações

![](https://secure.gravatar.com/avatar/feee639b2f06292cf8760afdf6aa08fc8a89bb16e3549887e6662672586e7f28?
s=60&d=retro&r=g)

### 󠀁[A few suggestions and bug report](https://wordpress.org/support/topic/a-few-suggestions-and-bug-report/)󠁿

 [Abdolaziz](https://profiles.wordpress.org/abdolaziz/) 28 Agosto, 2025

HelloThanks for your awesome plugin.I use it in my marketplace. There are a few 
suggestions. [BUG] Even though I deselected all the image formats, I/users can upload.
json files. Restricting users to a specific number of files or min/max.

![](https://secure.gravatar.com/avatar/1e9e69c89d39ca4336420da9abde7d043110a0da5d777ba338126245a918ff6e?
s=60&d=retro&r=g)

### 󠀁[Works perfectly and still alive WordPress 6.6](https://wordpress.org/support/topic/works-perfectly-and-still-alive-wordpress-6-6/)󠁿

 [stephunique](https://profiles.wordpress.org/stephunique/) 23 Julho, 2024

This is probably the only one of its kind on the wordpress plugin market and I am
so happy it not only works, but that it had been updated. Works perfectly fine for
Wordpress 6.6. Thank you so much for this!

![](https://secure.gravatar.com/avatar/48bcc7c243f9548524b7a4255c5f11a9c9387335dbf1e0fbc39b37044baa109d?
s=60&d=retro&r=g)

### 󠀁[Worked perfectly](https://wordpress.org/support/topic/worked-perfectly-325/)󠁿

 [Candace](https://profiles.wordpress.org/candace1961/) 28 Junho, 2023

Thank you for this plugin!

![](https://secure.gravatar.com/avatar/ab21c3bf8fcb557d8a0758a6c4132b2ac7e8b85ab679bf33aadc743f0f42c081?
s=60&d=retro&r=g)

### 󠀁[No funciona](https://wordpress.org/support/topic/no-funciona-113/)󠁿

 [nextep](https://profiles.wordpress.org/nextep2/) 22 Dezembro, 2022

Hace meses que no se actualiza y da mensajes de error al intentar configurarlo.

![](https://secure.gravatar.com/avatar/2ae7e5742904f58d7cb962a0be8e292b7772405452d57d54e623b61366e54436?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/almost-perfect-417/)󠁿

 [Gustavo Tadeu](https://profiles.wordpress.org/gtsantos/) 18 Fevereiro, 2022

Very good indeed.

![](https://secure.gravatar.com/avatar/a8b86b6bc284b43b738d44f505697ed6db0acf493f34582871a30c21f2929017?
s=60&d=retro&r=g)

### 󠀁[Didn’t work](https://wordpress.org/support/topic/didnt-work-330/)󠁿

 [ksnakew](https://profiles.wordpress.org/ksnakew/) 25 Junho, 2021

It only shows “Settings could not be saved.” and does nothing. In support section
there is several topics for this issue without answer or solution.

 [ Ler todas as 15 avaliações ](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/)

## Contribuidores e programadores

“WP Upload Restriction” é software de código aberto. As seguintes pessoas contribuíram
para este plugin:

Contribuidores

 *   [ Sajjad Hossain ](https://profiles.wordpress.org/msh134/)

[Traduza o “WP Upload Restriction” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-upload-restriction)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/wp-upload-restriction/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/wp-upload-restriction/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/wp-upload-restriction/)
por [RSS](https://plugins.trac.wordpress.org/log/wp-upload-restriction/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 2.3.0

 * Fixed: Settings were not saving when no mime types were selected.
 * Tested with WP version 6.8

#### 2.2.9

 * Fixed: Limit unit was saving but not showing the actual selection.
 * Tested with WP version 6.5.5

#### 2.2.8

 * Fixed security related issues.

#### 2.2.3

 * Minor fixes.

#### 2.2.2

 * New feature: Added option for selecting file size unit (MB and KB).
 * Compatibility check.

#### 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.

## Metadados

 *  Versão **2.3.0**
 *  Última actualização **Há 1 ano**
 *  Instalações activas **2.000+**
 *  Testado até **6.8.8**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-upload-restriction/)
 * Etiquetas
 * [developer tool](https://pt.wordpress.org/plugins/tags/developer-tool/)[media](https://pt.wordpress.org/plugins/tags/media/)
   [upload](https://pt.wordpress.org/plugins/tags/upload/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/wp-upload-restriction/advanced/)

## Classificações

 3.7 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/#new-post)

[Ver todas as revisões](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/)

## Contribuidores

 *   [ Sajjad Hossain ](https://profiles.wordpress.org/msh134/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/wp-upload-restriction/)