Protect uploads
alticreation By alticreation

September 04, 2022

Protect uploads Plugin

Protect your uploads directory from people who want to browse it. Avoid browsing of your uploads directory by adding a htaccess or index.php file.

The uploads directory is where the files of the WordPress library are stored. Unfortunelty, this directory is not protected. A person who wants to see all your library could list it instantly going to : http://yourwebsite/wp-content/uploads . This plugin will hide the content by adding an index.php file on the root of your uploads directory or by setting an htaccess which will return a 403 error (Forbidden Access).

  • Depending on your server setting, the htaccess option could be disabled.

Available languages :

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

Installation

  1. Upload protect-uploads folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Note : GD library is needed and being able to create a .htaccess file in uploads directory.

Screenshots

  1. Administration Page for the plugin.

    Administration Page for the plugin.

Changelog

0.1

  • Initial release

0.2

  • Add security check to form in admin page.
  • Add sidebar for admin page
  • Add Italian translation (thanks to Marko97).
  • Try to fix the wrong message saying that Protection is disabled eventhough it is actually working.

0.3

  • Simplify UI admin.
  • check presence of index.html.
  • Remove option value managing current protection status.
  • Reorganizing code and making it more modular and simple.
  • Remove useless pieces.

0.4

  • Fix potential security issues.
  • Remove recursive loop that creates indexes.

0.5.2

  • Removed unused css

Details

  • Version: 0.5.2
  • Active installations: 30,000
  • WordPress Version: 3.0.1
  • Tested up to: 6.0.9
  • PHP Version: 7.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars