🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Folio Gatehouse icon
Maintained Tested up to 7.0.9 #52 in access-control

Folio Gatehouse

Role-based file access control. Restrict upload folders to specific user roles, serve files securely through PHP, and log every access attempt.

Active installs10+10+ tier
Downloads · 30d84▲ +20% vs prev. 30d
Rating—0 reviews
Health score51/100Fair
All-time downloads508Since Jun 2026
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d17▼ -22.7% week over week
Our verdict

Use with caution

Folio Gatehouse works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 51/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

135Sep 4Oct 18Dec 2
Yesterday4
Daily average (1y)3
Peak day44Jun 19, 2026
Last 12 months512

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Folio Gatehouse stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
access-control >100 8,275 Best access-control plugins →
download protection >100 3,044 Best download protection plugins →
file protection >100 5,449 Best file protection plugins →
membership >100 2,465 Best membership plugins →
role-based access >100 2,496 Best role-based access plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

About Folio Gatehouse

From the official readme · v1.2.1

Description

Folio Gatehouse lets you protect files inside your uploads directory by restricting access to specific WordPress user roles. Files are served through PHP — the web server never delivers them directly — so direct URL access is blocked regardless of link sharing.

Key features:

  • Zone-based protection — define named zones (subfolders inside your uploads directory) and assign allowed roles to each
  • Custom denial screens — create HTML pages shown to blocked users, with full control over styling and messaging; separate screens for anonymous and logged-in users
  • Redirect on denial — optionally redirect denied users to any URL (e.g. a sales page or membership signup) instead of showing a denial screen
  • Login redirect shortcode — [rbfa_login_link] inserts a secure login link that returns the user to the originally-requested file after authentication, using an opaque token so no file path is exposed in the URL
  • Zone virtual pages — each zone automatically gets a front-end page at /protected-zone/{slug}/ with customisable title and body content, rendered inside your active theme
  • Browsable file listing — [rbfa_files] shortcode renders a collapsible, downloadable file listing for authorised users, with per-directory file counts, sizes, and ZIP download buttons
  • Access logging — every request is logged with timestamp, username, IP, file path, and status; filterable, sortable, and exportable as CSV
  • Role management — create and manage custom WordPress roles (fgh_ prefix) directly from the plugin, with searchable member management
  • .htaccess integrity — automatically writes and repairs rewrite rules across all protected directories; optional hourly cron
  • NGINX support — dedicated tab generates ready-to-copy location blocks when NGINX is detected
  • Export / Import — back up and transfer zones, roles, denial screens, and settings as a JSON file; conflict resolution on import

Security

  • Files served through PHP (readfile) — web server never delivers protected files directly
  • Path traversal blocked by realpath() boundary check before any file is served
  • Login redirect tokens are opaque — no file path, role, or zone information in the URL
  • Denial screen HTML filtered through a strict wp_kses allowlist on save and read-back
  • CSRF protection on every form via WordPress nonces
  • All ORDER BY clauses use a server-side whitelist to prevent SQL injection

Requirements

  • Apache with mod_rewrite enabled, or NGINX (with manual server block configuration — see the NGINX Config tab)

Installation

  1. Upload the folio-gatehouse folder to wp-content/plugins/
  2. Activate the plugin from Plugins → Installed Plugins
  3. Navigate to Folio Gatehouse in the sidebar
  4. Go to Settings and set your base directory (the folder inside wp-content/uploads/ that will contain all protected zones)
  5. Go to Zones and add zone rows — assign a folder slug and the roles that may access it
  6. Click Save & Sync Zones

If you are running NGINX, visit the NGINX Config tab for the server block rules you need to add before protection takes effect.

Changelog

Critical fix: Save & Sync Zones could silently delete zones not visible on the current page/filter view of the Zones tab. Update immediately if you're on 1.2.0, then check your Zones tab for anything that needs reconfiguring.

1.2.1

  • Fixed: critical — “Save & Sync Zones” deleted every zone, then reinserted only the ones present in the submitted form. Since the Zones tab is paginated and filterable, a save only ever submits the zones on the current page/filter view — any zone outside it (on another page, or hidden by a filter) was silently and permanently deleted, while its folder stayed on disk and reappeared as an “unmanaged directory.” Zones are now updated in place by id; a zone is only deleted when its “Remove” button is explicitly clicked. If you’re on 1.2.0, check your Zones tab after upgrading — zones lost to this bug will need to be reconfigured from the unmanaged-directory prompt.

1.2.0

  • Admin menu: the plugin now appears under a shared “Folio” menu alongside other Folio-suite plugins, instead of as its own top-level item. Existing settings links (?page=rbfa-pro) and the admin screen are unchanged.
  • Performance: zone and base-folder lookups now share a single object-cache-backed query per request (previously two uncached queries on every front-end request). With a persistent object cache (Redis/Memcached) repeat requests serve from cache with zero queries. Cache is invalidated automatically when zones are saved, imported, or migrated.
  • Fixed: zone and base-folder slugs were run through sanitize_title() on save, which forces lowercase — a directory like Testing got stored as testing. On case-sensitive filesystems this pointed the zone at the wrong directory; on case-insensitive filesystems the directory still resolved, but the already-managed folder kept reappearing as a phantom “unmanaged directory” because the exact-case comparison never matched. Slugs now use sanitize_file_name(), which preserves case.

1.1.8

  • Replaced two str_starts_with() calls with strpos() checks for compatibility with the declared minimum WordPress 5.8 (str_starts_with requires WP 5.9)

1.1.7

  • Standardised all public shortcodes on the plugin’s 4-character rbfa_ prefix: [rbfa_files], [rbfa_login_link], [rbfa_zone_link] (meets WordPress.org prefix-length guideline)
  • DB migration (v1.9) rewrites shortcode names in existing zone pages and denial screens automatically on upgrade
  • Role renames now use core remove_role()/add_role() instead of a direct wp_user_roles option write

1.1.6

  • All plugin-managed role slugs migrated from fsg_ prefix to fgh_ prefix; DB migration (v1.8) renames existing roles, moves user assignments, and updates zone allowed-roles JSON automatically on upgrade
  • System role renamed from FSG Admins (fsg_admins) to FGH Admins (fgh_admins)

1.1.5

  • Renamed shortcodes to fgh_ prefix: [fgh_files], [fgh_login_link], [fgh_zone_link]; fsg_ and older names kept as backwards-compatible aliases
  • DB migration (v1.7) updates existing zone pages and denial screens to new shortcode names

Full changelog on WordPress.org →

Screenshots

Zones tab — manage protected directories and assign roles
Zones tab — manage protected directories and assign roles
Logs tab — filterable, sortable access log with stats widget
Logs tab — filterable, sortable access log with stats widget
Roles tab — create and manage custom roles with member management
Roles tab — create and manage custom roles with member management
Denial Screens tab — manage HTML denial pages and login redirect URLs
Denial Screens tab — manage HTML denial pages and login redirect URLs
Settings tab — system settings, export/import, and data management
Settings tab — system settings, export/import, and data management
Front-end zone page — [rbfa_files] collapsible file listing with per-directory download buttons
Front-end zone page — [rbfa_files] collapsible file listing with per-directory download…

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Folio Gatehouse alternatives

All access-control plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 PublishPress Capabilities: User Role Access Control, Admin Area Permissions PublishPress Capabilities: User Role Access Control, Admin… User role editing for WordPress. Manage user roles, control capabilities and permissions… by PublishPress 90K+ ★★★★★★★★★★ 4.7 (144) 3 days ago 95
2 Content Control – The Ultimate Content Restriction Solution! Restrict Content, Create Conditional Blocks & More Content Control Restrict content based on login status, user roles, device type & more. Monetize your… by Daniel Iser 40K+ ★★★★★★★★★★ 4.9 (576) 2 months ago 76
3 PublishPress Permissions: Access Control, Content Permissions, User Access PublishPress Permissions: Access Control, Content Permissio… The permissions plugin for posts, pages, categories, tags and more. You can control… by PublishPress 10K+ ★★★★★★★★★★ 4.3 (66) 1 week ago 89
4 Restrict User Access – Ultimate Membership & Content Protection Restrict User Access Create Access Levels and restrict any post, page, category, etc. Supports bbPress… by Joachim Jensen 10K+ ★★★★★★★★★★ 4.3 (94) 4 weeks ago 76
5 Groups – Memberships and Access Control Groups – Memberships and Access Control Turn your site into a powerful membership solution. Manage members, teams and access to… by itthinx 10K+ ★★★★★★★★★★ 4.8 (382) 1 week ago 93
6 SureMembers – Membership & Content Restriction Plugin SureMembers – Membership & Content Restriction Plugin Protect your content, build memberships, and control who sees what on your WordPress site… by Brainstorm Force 2K+ ★★★★★★★★★★ 5 (3) 2 days ago 67
7 Quick Download Button Quick Download Button Add stylish download buttons to any post or page — 7 styles, countdown, popup modal, access… by sidocode 1K+ ★★★★★★★★★★ 4.6 (12) 2 days ago 80
8 SimpleShop SimpleShop The SimpleShop WP plugin connects your WordPress website with a SimpleShop account and… by Redbit s.r.o. 1K+ ★★★★★★★★★★ No reviews 3 months ago 60
9 Menu By User Roles Menu By User Roles Menu By User Roles allows you to control the visibility of menu items based on user roles. by kahnu044 1K+ ★★★★★★★★★★ 5 (3) 2 months ago 73
10 Groups 404 Redirect Groups 404 Redirect Redirect 404's when a visitor tries to access a page protected by Groups. by itthinx 1K+ ★★★★★★★★★★ 4.6 (10) 2 months ago 76

FAQ

Folio Gatehouse: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Folio Gatehouse free?

Yes. Folio Gatehouse is free to download and use from the official WordPress.org plugin directory.

Is Folio Gatehouse safe to use in 2026?

Folio Gatehouse works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 51/100 on our health check.

How many websites use Folio Gatehouse?

Folio Gatehouse is active on 10+ WordPress websites and has been downloaded 508 times since it launched in June 2026. It was downloaded 84 times in the last 30 days.

Does Folio Gatehouse work with WordPress 7.1?

Folio Gatehouse is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Folio Gatehouse need?

Folio Gatehouse requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Folio Gatehouse last updated?

The latest version, 1.2.1, was released on August 11, 2026 (4 months ago).

Who makes Folio Gatehouse?

Folio Gatehouse is developed and maintained by buffcleb.

What are the best alternatives to Folio Gatehouse?

The most popular alternatives to Folio Gatehouse are PublishPress Capabilities:… (90K+ installs), Content Control (40K+ installs) and PublishPress Permissions: A… (10K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open