Demo Builder Sandbox and Dual-Gate Access Control

Demo Builder for WordPress – Complete Plugin & Sandbox Guide

Running a public WordPress product demo without strict isolation exposes your site to destructive settings edits, broken layouts, and leaked pre-release assets. Standard maintenance plugins either block administrators too aggressively or leave static files and REST endpoints wide open.

Demo Builder for WordPress delivers full-stack sandbox management: automated backups, Google Drive and OneDrive cloud sync, one-click dummy data generation, role-scoped demo accounts, and a dual independent protection gate separating Admin Maintenance from Frontend Full-Lock.

Pair your WordPress sandbox with the PolyThemes FSE Ecosystem so live showcase themes stay responsive under concurrent demo traffic.

Demo Builder SubsystemCore MechanismSecurity & Operations Role
Admin Maintenance GateIndependent maintenance screen + role/user allowlistControls site-wide maintenance without locking admins out
Frontend Full-Lock GateSigned 12-hour gate cookie + asset-gate.phpBlocks public URLs, REST, XML-RPC, and direct wp-content assets
Demo Scope ManagerRole-based restrictions and custom selector rulesStops demo visitors from deleting users or breaking core options
Backup & Cloud SyncLocal snapshots + Google Drive & OneDrive providersEnables fast scheduled or manual sandbox resets
Demo Switcher & PanelFrontend theme/plugin switcher + login selectorLets buyers test roles and themes in one click

1. Configure the Dual Independent Protection Gate and Allowlist

Unlike single-switch maintenance tools, Demo Builder separates Admin Maintenance Mode from Frontend Full-Lock. Admin Maintenance displays a branded holding page with countdown timers while honoring a role-based allowlist, whereas Frontend Full-Lock enforces a strict perimeter across public URLs, REST API, XML-RPC, feeds, sitemaps, and direct static files inside wp-content unless the visitor holds a valid signed demo_builder_gate_pass cookie.

  • Open Demo Builder > Maintenance and pick Admin Maintenance Mode, Frontend Full-Lock, or both.
  • Configure your role allowlist (such as Administrator or QA) so operators bypass locks via signed gate cookies.
  • Verify asset-gate.php and managed .htaccess lock rules shield media, themes, and plugins under Frontend Full-Lock.
  • Add custom IP or secret bypass tokens so monitoring or payment webhooks reach staging safely.

2. Automate Demo Accounts, Scopes, and Cloud Restores

Once your perimeter is locked down, populate realistic showcase content and protect administrative screens from curious visitors. Using Demo Scope Manager alongside scheduled cloud backups lets you reset the entire sandbox cleanly without manual database imports. To keep multilingual or cached demos snappy between resets, align them with MTCache Multi-Layer WordPress Caching and MTLanguages O(1) Multilingual Routing.

  • Generate sample posts, pages, users, and WooCommerce data from Demo Builder > Generate Data, then create a clean golden snapshot backup.
  • Connect Google Drive or OneDrive under Extensions to mirror golden restore archives off-server and enable Telegram alerts for restore events.
  • Configure Demo Accounts and the Frontend Login Selector so prospects sign into scoped roles (Shop Manager, Editor, Subscriber) with one click.
  • Apply Demo Scope rules to disable destructive actions such as plugin deactivation, password changes, or theme file editing inside public demo roles.

Common Pitfalls and Quick Fixes

  • Protected admin sees 403 on images during Frontend Full-Lock: Log out and back in once as an allowlisted administrator to mint a fresh 12-hour demo_builder_gate_pass signed cookie.
  • Cloud backup fails on large uploads directories: Split media exclusions or raise PHP max execution time before running full off-site sync to Google Drive or OneDrive.
  • Demo users still access restricted settings screens: Check Demo Scope Manager role assignments and verify the user account is not assigned an unrestricted Administrator role.

Frequently Asked Questions

How do Admin Maintenance and Frontend Full-Lock differ?

Admin Maintenance manages visitor-facing maintenance screens, countdown timers, and role allowlists inside WordPress, whereas Frontend Full-Lock operates independently to block unauthenticated URLs, REST API endpoints, XML-RPC, feeds, sitemaps, and direct static files under wp-content using signed gate cookies and asset-gate.php.

Can Frontend Full-Lock protect uploaded images and CSS files directly?

Yes. When Frontend Full-Lock is enabled, managed server rewrite rules route direct HTTP requests for uploaded media, theme assets, and plugin files through asset-gate.php. Only visitors holding a valid signed gate cookie minted for an allowlisted administrator role can load those assets.

Which cloud storage providers are supported for sandbox backups?

Demo Builder ships with native cloud storage extensions for Google Drive and Microsoft OneDrive built on an extensible cloud-storage-base provider interface. You can mirror clean golden sandbox snapshots off-server automatically and receive real-time backup or restore notifications directly via Telegram.

What WordPress and PHP versions does Demo Builder require?

Demo Builder for WordPress requires WordPress 6.0 or higher and PHP 8.0 or later. It works seamlessly alongside modern Full Site Editing block themes, WooCommerce storefronts, and custom post types without requiring external SaaS hosting, separate servers, or manual database exports.


Comments

Leave a Reply

Your email address will not be published.Required fields are marked *