Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Protect uploads

Beskrivning

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)

Skärmdumpar

  • Administration Page for the plugin.

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.

Recensioner

15 maj 2023 1 svar
Tried with ”Protect with index.php files” Tried with ”Protect with .htaccess file” Neither one works. PDF happily appears in another browser where I’m not logged in, it’s got a little menu, it loads completely, and the crooks are off and away with my property. Wordpress 6.2. Thanks. Have a nice day.
21 juni 2023 1 svar
This plugin is not malware.The ’malware’ you claim is a ’fake plug-in’ created by a web server being hacked.A year after downloading this plug-in from the official Wordpress.org , my site is still very fine and secure. Don’t be fooled by fake reviews.
13 augusti 2022
It just does what it has to do. Restrict free browsing of your WP-content folder and subfolder. You can still access a specific file if you have the exact path but you cannot sneak around any longer.
20 oktober 2020
Sure, could have done it all manually… but why!? If site maintenance/upkeep/security falls within your purview… This plugin is a must have tool. What makes it good… 1. Out of the box installs with zero compromises or changes to other plugins or server software. 2. Activation and settings are straight forward 3. Works exactally as expected/should Job well done…
Läs alla 33 betyg

Bidragsgivare och utvecklare

”Protect uploads” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Protect uploads” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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