WP Manifestindependent plugin directory
manifest / security / wp-page-protector

WP Page Protector

Protect specific WordPress pages with a password. Includes cookie-based unlock persistence and admin settings page.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/drhanhtetsan/wp-page-protector/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress plugin for password-protecting specific pages with advanced security features.

Features

  • 🔐 Selective Protection: Choose exactly which pages to protect
  • 🍪 Secure Cookies: HMAC-signed cookies prevent tampering
  • 🔄 Remember Me: Optional persistent authentication
  • 🛡️ Security First: Hashed passwords, nonce protection, cache prevention
  • ⚡ Session Compatible: Works with WordPress session management
  • 🔄 Version Control: Password versioning for cookie invalidation

Quick Start

  1. Install: Upload to /wp-content/plugins/ and activate
  2. Configure: Go to Settings > Page Protector
  3. Protect: Set password and select pages to protect
  4. Done: Users will see a clean login form on protected pages

Documentation

Requirements

  • WordPress 5.0+
  • PHP 7.4+

Screenshots

Admin Panel User Form Logout
Admin Form Logout

Security

This plugin implements enterprise-level security:

  • Password hashing using WordPress standards
  • HMAC-signed cookies prevent session hijacking
  • Cache prevention protects sensitive content
  • CSRF protection with WordPress nonces

License

GPL-2.0-or-later - see LICENSE

Author

Han Htet San
GitHub: @ubagyan