Title: WP Upload Restriction
Author: Sajjad Hossain
Published: <strong>نیسان 20, 2015</strong>
Last modified: تەممووز 6, 2025

---

گەڕان لە پێوەکراوەکان

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

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

# WP Upload Restriction

 لەلایەن [Sajjad Hossain](https://profiles.wordpress.org/msh134/)

[داگرتن](https://downloads.wordpress.org/plugin/wp-upload-restriction.2.3.0.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/wp-upload-restriction/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/wp-upload-restriction/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/wp-upload-restriction/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/wp-upload-restriction/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/wp-upload-restriction/)

## وەسف

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

## سکرین شۆتەکان

 * [[
 * Settings – Restriction page
 * [[
 * Settings – Custom File Type management page

## دامەزراندن

 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.

## پێداچوونەوەکان

![](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, 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, 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, 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, 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, 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, 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.

 [ خوێندنەوەی 15 پێداچوونەوە ](https://wordpress.org/support/plugin/wp-upload-restriction/reviews/)

## بەشداربووان و گەشەپێدەران

“WP Upload Restriction” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان
تێدا کردووە.

بەشداربووان

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

[“WP Upload Restriction” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/wp-upload-restriction)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/wp-upload-restriction/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/wp-upload-restriction/)
بکە، یان بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/wp-upload-restriction/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/wp-upload-restriction/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

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

## مێتا

 *  وەشان **2.3.0**
 *  دوایین بەڕۆژکردنەوە **9 مانگ لەمەوبەر**
 *  دامەزراندنی چالاک **2,000+**
 *  تاقیکراوەتەوە تا **6.8.5**
 *  زمان
 * [English (US)](https://wordpress.org/plugins/wp-upload-restriction/)
 * تاگەکان
 * [developer tool](https://ku.wordpress.org/plugins/tags/developer-tool/)[media](https://ku.wordpress.org/plugins/tags/media/)
   [upload](https://ku.wordpress.org/plugins/tags/upload/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/wp-upload-restriction/advanced/)

## هەڵسەنگاندنەکان

 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)

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

## بەشداربووان

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

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/wp-upload-restriction/)