Prevent Files / Folders Access WordPress Plugin | Codefreex Skip to content
Prevent Files / Folders Access icon

WordPress plugin

Prevent Files / Folders Access

Prevent public access to WordPress files and folders. Protect downloads from public access. Role and user based folder access in premium plans only.

By miniOrange1K+ active installs4.6 out of 5
Active installs
1K+
Rating
4.6 / 5
Version
2.7.0
Last updated
Oct 12, 2026
Tested up to
WordPress 7.1.5
Requires
WP 4.7 · PHP 5.6

Health check

Is Prevent Files / Folders Access safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on October 12, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.1.5.

Highly rated by users

Rated 4.6 out of 5 from 35 ratings on WordPress.org.

Requires PHP 5.6 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where Prevent Files / Folders Access ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Prevent Files / Folders Access
KeywordPositionChangeTrendCurrent #1
content restriction
media restriction
protect uploads
protect-folders
secure files
prevent files folders

Checked against the top 100 WordPress.org search results.

Overview

What Prevent Files / Folders Access does

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 by users with specific roles/capabilities (role based restriction is available in the premium plans only, it is not part of the free version). 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 wordpress media file. Our plugin takes care of your media library or via Media, Pages, or Posts.

We support a level of security where you can choose either cookie-based restriction or session-based restriction.

Also, we support Apache and Nginx servers to prevent direct access to the WordPress media library and therefore protect the media library for public or restricted users.

It prevents private download of the media files from public access and only the logged-in users or specific user roles (role…

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

Prevent Files / Folders Access in action

Configuration
Configuration
Permission to update htaccess file
Permission to update htaccess file
Rules preview based on configuration
Rules preview based on configuration

FAQ

Prevent Files / Folders Access: questions and answers

What is Prevent Files / Folders Access?

Prevent Files / Folders Access is a WordPress plugin by miniOrange. Prevent public access to WordPress files and folders. Protect downloads from public access. Role and user based folder access in premium plans only.

Is Prevent Files / Folders Access free?

Prevent Files / Folders Access is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use Prevent Files / Folders Access?

WordPress.org reports 1K+ active installations of Prevent Files / Folders Access. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is Prevent Files / Folders Access still maintained?

Prevent Files / Folders Access was last updated on October 12, 2026. The current version is 2.7.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Prevent Files / Folders Access require?

Prevent Files / Folders Access requires WordPress 4.7 or newer and PHP 5.6 or newer. It has been tested up to WordPress 7.1.5.

Can Codefreex set up or customize Prevent Files / Folders Access?

Yes. Codefreex installs, configures and customizes WordPress plugins including Prevent Files / Folders Access, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Prevent Files / Folders Access set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us