Prevent Files / Folders Access
View on WordPress.orgScores higher than 38% of indexed plugins
About
Prevent public access to WordPress files and folders. Protect downloads from public access. Role and user based folder access in premium plans only.
Security History
What It Does
Prevent Files / Folders Access blocks public URLs from directly serving files in your WordPress media library, then re-serves them only to users who meet configured role or user-list conditions. In practice, it acts as a gatekeeper for downloads and uploads, so a shared link to a PDF, image, or ZIP will not work for anonymous visitors. It is focused on file-level protection rather than page or post restriction.
Who It's For
This plugin fits small sites that sell or distribute a handful of digital files and need to stop link-sharing without standing up a full membership system. It is also useful for internal sites, client portals, or membership clubs where access is granted by WordPress role or a specific list of usernames. It is less suited to large catalogues with complex per-product permissions.
Who Should Skip It
If you need to restrict entire pages, posts, or custom post types, or if you need drip content, paywalls, or subscription billing, this plugin is the wrong tool and you will be happier with a dedicated membership plugin. Sites that simply want to stop hotlinking of images or hide the wp-content path from search engines do not need this either; a hotlink-protection rule in .htaccess or a security plugin will do that for free.
The Bottom Line
Prevent Files / Folders Access does a narrow job and does it quietly well, with strong maintenance signals and a high user rating, but the lack of any support history is a real gap. The 1,000-install ceiling tells you it has not been battle-tested the way User Registration or Paid Member Subscriptions have. Recommended for simple file-gating needs, with the caveat that you should not expect responsive public support.
Related Plugins
Pick this if you need full registration forms, profile management, and content restriction tied to memberships, not just file gating.
Choose this when the goal is recurring revenue, subscription billing, and tiered access rather than protecting individual files.
Use this for granular shortcode and block-level content restrictions, especially inside posts and pages.
Pick this for a long-standing membership framework with paywalls, drip content, and built-in file access controls.
Use this if your real need is restricting entire pages or posts by role, with no payment or file delivery involved.