Prevent public access to WordPress files and folders. Protect downloads from public access, Role-based folder access, and User base folder access.
As of April 2026, Prevent files / folders access is a WordPress secure files plugin with 1.0K+ active installations and a 4.6/5 rating from 35 reviews. It has been downloaded 34K+ times in total. Requires WordPress 3.0.1+ and PHP 5.6+. Available on WordPress.org since 2019. Downloads are up 35% this week.
WordPress Prevent files/ folders access provides the easiest way to protect WordPress files from public users so that your wordpress media library can be accessed only by WordPress logged in users or users with specific roles/capabilities. Your ebooks, pdfs, other important files, etc., can be protected from google indexing so that data is protected from getting stolen. Control users access to media library, Control users access to the WordPress upload folder or sub folders, and restrict all the files published on your WordPress site.
For restricted Content you can choose to redirect users to 403 forbidden page, your custom page, WordPress login page, SSO login page (if you are using OAuth or SAML SSO).
No change required or no manual work needed to create a private link to protect your w…
I will give this a 5 star rating only because of the support. The support was very good and they where able to work through all of the issues with our site/host and they were finally able to resolve all of our issues. However, I am in the US Central time zone. It took about 4 weeks to resolve our issues because of the time delay. Again, the support was great but you will need to be patient!
Cercavo proprio un plugin di questo genere, è ottimo! Però vedo che non è aggiornato da un anno ((( L’avete abbandonato?
I had an issue with conflicting plugins that were keeping me from installing/activating this one. This team quickly arranged a conference call with me and their developers and helped me work through my issue. They were patient and thorough and I could not have received better support. Incredibly friendly team and I am so thankful for them.
My organization is using the Private Directory feature of Prevent files / folders access to protect PDF files that need to be accessible by our members only, and not via URL on the open Internet. While setting up the plug-in I had two issues and they were both solved within 24 hours by the developers. Thank you very much!
It took us a couple of weeks to get this set up exactly how we wanted, but we’ve had amazing tech support every step of the way thanks to Saurabh, who has gone above and beyond to make sure all the code was working perfectly. Recommendable.
| WordPress | 3.0.1+ requiredTested up to 6.8.5 |
| PHP | 5.6+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.