Prevent files / folders access


WordPress Prevent files /folders access provides an easiest way to protect your wordpress files from public users so that your content can be accessed only by WordPress logged in users.

For restricted access you can choose to redirect users to 403 forbidden page, your custom 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 files. Our plugin take care of everything.

We support level of security where you can choose either cookie base restriction or session base restriction.
Also we support Apache, NGINX and IIS server to prevent the media files.

We support any level of customization according to your requirement.

File Based Protection

WordPress Prevent file/folder access developed in a way that it allows you to protect many types of files in your customized way. It will protect files based on their extension.
You can protect file types below:

  • Images – Every type of image files can be protected. eg: jpeg, jpg, gif, png, bmp, webp, pfg, ico, psd, etc.
  • Videos – Every type of video files can be protected. eg: mp4, m4a, m4v, f4v, f4a, m4b, m4r, f4b, mov, 3gp, avi etc.
  • Documents – Every type of document files can be protected. eg: doc, docx, html, pdf, txt, ppt, xls, xlsx, pptx, odt.


WordPress Prevent file/folder access allows you to customize redirect option after the files restriction.

  • 403 forbidden page (DEFAULT) – Users will be shown with 403 forbidden page with restricted access messasge.
  • Display custom page – We can redirect users to any WordPress custom page when they try to access a restricted files or folders.
  • WordPress login – Users will be redirected to the WordPress default login page.
  • IDP login – Users will redirect to the selected IDP (SAML/OAuth) login page and after IdP authentication they can see the restricted content.

Protected folder

  • Our plugin also gives you a protected folder where you can add all file type extensions and restriction will be applied to all files inside protected folder.

Folder Based Protection

  • WordPress Prevent files / folders access allows you to protect your folders too, the wp-content or uploads folder where all the media files like image, video and document files stored will also be protected.
  • Users have option to protect particular month’s media files.
  • User Base Restriction – A single user can access only a single folder. (Admin would be able to access all the folders)
  • Role Base Restriction – All the users of the particular role can access only a single folder. (Admin would be able to access all the folders)

We support LearnDash and other LMS to restrict files and folders according to different groups.

Also, We provide Page and Post Restriction which provides content control for WordPress sites.
This provides Page Restriction and Post Restriction i.e. control on content access based on User Roles. It also allows providing content access to only Logged In Users to specific or all pages and posts.

You can customize the restriction rules and use it as per needs.


  • Configuration
  • Permission to update htaccess file
  • Rules preview based on configuration
  • Upload files in protected folder
  • Folder based restriction
  • Contact us or support

Perguntas frequentes

I need to customize the plugin or I need support and help?

Please email us at or Contact us. You can also submit your query from plugin’s configuration page.


23 de Novembro, 2020
Doesn't provide protection for hosted sites. Refuses to refund. Has no complaints policy or process. Ignores your requests and continues to supply new versions of "plugins" that meet your needs but they are flagged as security risks by wordpress and are automatically removed by the system. Doesn't do what its required to do, refuse to refund. Scam!!!!! Don't waste your money!
10 de Setembro, 2020
The free version of the plugin did not work on our server although it is an Apache server. However, it works perfectly on BlueHost. For that reason I am not giving it 5 stars. The customer support was very good, and worked with me to see why the plugin would not work on the server. I appreciate all the time they spent helping us.
25 de Agosto, 2020
Dhruv was extremely helpful even though I was using the free version of their plugin. His expert advice helped me solve my file access problem.
14 de Agosto, 2020
This plugin works exactly like it should! I had an issue with a third party embed plugin that needed access to my PDF's and the support went out of their way to help me out. Great stuff! PS. the piece of code I needed to add in the HTAcces was: RewriteCond %{REQUEST_URI} ./wp-content/plugins/[name-of-plugin-that-needs-access] Big thanks to support team!
22 de Maio, 2020
The plugin works great and I got a fast and accurate response to configure the plugin using NGINX. Thank you very much
Ler todas as 13 avaliações

Contribuidores e programadores

“Prevent files / folders access” é software de código aberto. As seguintes pessoas contribuíram para este plugin:


Registo de alterações


  • Bug fixes
  • Added support for NGINX server within the premium and Enterprise plugin


  • Bug fixes
  • New Enterprise plan


  • Fix file permissions issue for the protected folder


  • Fix the Bootstrap conflict with the WP-admin and Permission issue


  • Change method of writing rules in htaccess file


  • File Deletion issue fixed


  • Initial release