[WordPress] 外掛分享: Restrict WP Upload Type

首頁外掛目錄 › Restrict WP Upload Type
WordPress 外掛 Restrict WP Upload Type 的封面圖片
300+
安裝啟用
★★★★★
5/5 分(4 則評價)
17 天前
最後更新
0%
問題解決
WordPress 5.6+ PHP 7.4+ v1.0.4 上架:2022-04-13

內容簡介

這個外掛可以協助管理媒體檔案的安全性。使用這個外掛可以允許或禁止上傳不同類型的檔案至 WordPress 媒體庫中,讓你能按自己的意願限制檔案類型或副檔名。

此外掛提供了接近 96 個副檔名和 Mime 類型可供選擇。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Restrict WP Upload Type」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Restrict WP Upload Type gives you complete control over which files your users can upload to WordPress. Prevent security risks, maintain brand standards, and eliminate media library chaos with granular file type controls.
Why You Need Upload Restrictions
Uncontrolled uploads create serious problems:
* Security vulnerabilities from unvetted file types
* Brand inconsistency from mixed formats
* Media library bloat from oversized files
* Wasted time managing user uploads
* Compliance violations with upload policies
What This Plugin Does

Control over 97 file extensions and MIME types
Allow or block any format with a single click
Dedicated SVG file management with security
Real-time upload validation (prevents bad uploads before they happen)
Clear error messages guiding users to approved formats
Zero configuration complexity—works instantly

Who Should Use This

WordPress site owners wanting better media management
Teams needing consistent upload policies
Digital agencies managing multiple client sites
Organizations with compliance requirements
Anyone managing user permissions on WordPress

Key Features

Comprehensive Format Support: Images (PNG, JPG, GIF, WebP, SVG, HEIC), Documents (PDF, DOCX, XLSX, PPT), Audio/Video (MP3, MP4, WAV, AVI), Archives (ZIP, RAR, 7Z), and more
Flexible Controls: Whitelist allowed formats or blacklist restricted ones
SVG Security: Dedicated toggle for SVG files with proper MIME type handling
Lightweight Design: Minimal server overhead, zero performance impact
User Feedback: Clear, helpful error messages when uploads are blocked
WordPress Integrated: Works with Gutenberg, classic editor, REST API uploads, and block-based themes

How It Works

Install and activate the plugin
Visit Restrict Files page directly, After Media page
Check the boxes for file types you want to allow
Click Save
Done! Your restrictions are immediately active

What Users Are Saying
“Simple, fast, and objective.” — 5-star review
“Excellent little plugin that will prove very useful.” — 5-star review
“Works like a charm. Simple to configure and highly effective.” — 5-star review
Performance Impact
This plugin adds minimal overhead. It uses lightweight MIME type filtering without database bloat. Your site’s speed remains unaffected.
Future Roadmap
We’re actively developing Restrict WP Upload Type based on user feedback. Planned features include role-based restrictions and file size limitations.
Support
Have questions? Visit our support forum on WordPress.org. We’re here to help!
Learn More

Plugin Homepage
Support Forum

Donate link

If you’d like to support development, please visit https://profiles.wordpress.org/kushang78/

What about security?
The plugin validates both file extensions and MIME types server-side to prevent header manipulation. It follows WordPress security best practices and standards.
Can I override the restrictions for specific users?
Not in the current version. The plugin applies restrictions globally. This feature is being considered for future versions.
How often is this plugin updated?
The plugin is actively maintained and updated as needed for WordPress compatibility and bug fixes. Subscribe to the support forum for update notifications.
What if I find a bug?
Please report issues in the support forum:
https://wordpress.org/support/plugin/restrict-wp-upload-type/
We take all bug reports seriously and work to fix them promptly.
Does this plugin work with multisite?
Yes, it’s fully compatible with WordPress multisite. Each site in the network can have its own upload restrictions.
Can I test the plugin on a staging site first?
Absolutely! We recommend testing on a staging/development site first, then deploying to production.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon