跳到内容

Protect Uploads

v0.8.0

Protect Uploads · 2015年3月31日 上架

Protect your uploads directory. Prevent browsing, password-protect files, add watermarks, and discourage right-click copying.

正在使用
3 万+
评分
4.8 / 5
累计下载
164 万
最近更新
2026年10月8日
12 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

截图

The Directory Protection tab, with the protection status of each uploads folder.
The Directory Protection tab, with the protection status of each uploads folder.
The Password Protection box on a media file's edit screen.
The Password Protection box on a media file's edit screen.
The Image Protection tab: password protection, watermark and right-click options.
The Image Protection tab: password protection, watermark and right-click options.

The uploads directory is where the files of the WordPress media library are stored. Unfortunately, this directory is not protected by default: anyone who wants to see your whole library may be able to list it by going to http://yourwebsite/wp-content/uploads. This plugin hides the contents by adding an index.php file to your uploads directory and its subfolders, or by adding an .htaccess file that returns a 403 error (Forbidden Access).

  • Depending on your server, the .htaccess option may be unavailable (Nginx does not read .htaccess files).

For more information, visit protectuploads.com.

Features:

  • Directory Protection: Stop visitors from browsing your uploads directory (index.php or .htaccess 403). New year and month folders are protected as files are uploaded to them.
  • Password Protection: Secure individual media files with passwords. Multiple passwords can be set for each file with custom labels. On Apache and LiteSpeed, the file’s direct URL also asks for the password, and repeated wrong guesses are rate limited.
  • Image Watermarking: Add text watermarks to your uploaded images with customizable position, opacity, and font size. An untouched copy of each original is kept.
  • Right-Click Protection: Discourages casual copying: disables the right-click menu and dragging on images. Determined visitors can still save images.
  • Access Logging: See when password-protected files were downloaded, with which password and from which IP address.
  • Site Health Checks: Built-in protection status tests with actionable advice.

Need more protection? Protect Uploads Pro adds Secure Send (emailed files released by a one-time code), a Client Portal, file requests, expiring and single-use passwords, role-based access, hotlink protection, logo and bulk watermarks, and download analytics.

Available languages:

  • English
  • Français
  • Español
  • Italian (thanks to Marko97)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums