Blog Password Protection – BPP
A simple and secure plugin to protect your entire blog or specific categories with a password popup.
Plugin info
Maintenance & Compatibility
Maintenance score
Stale • Last updated 214 days ago
Is Blog Password Protection – BPP abandoned?
Likely maintained (last update 214 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Blog Password Protection – BPP is a lightweight, easy-to-use plugin that helps you protect your entire WordPress blog or specific parts of it with a password. Whether you’re running a private journal, members-only site, or internal project blog — this plugin allows you to manage visibility and access without any complex setup.
It includes a customizable popup login prompt, the ability to restrict content by category, bypass access via secure URLs, and selectively disable protection for logged-in users by role.
🛡️ Core Features:
- Password-protect the entire blog or specific categories.
- Popup login box with custom title, message, and return button.
- Shareable secure access link (no password needed).
- Role-based exclusion (e.g. allow Editors or Admins without login).
- Feed protection and error messages for incorrect passwords.
- Flexible cookie session lifetime (e.g. 24h, 72h, 7d).
- Fully managed via a settings page in the WordPress admin panel.
Plugin Structure
The plugin consists of the following core files:
-
plugin_settings_page.php
- Registers the plugin settings page under
Settings > Password Protection. - Provides UI controls for all plugin options, such as:
- Password setting
- Cookie session lifetime
- Category protection checkboxes
- Secure link sharing toggle
- User role bypass
- Popup customization (title, text, return link)
- Registers the plugin settings page under
-
secure_content.php
- Implements content filtering logic.
- Hooks into the page rendering process to:
- Detect protected categories or homepage
- Display the popup login interface
- Injects the popup modal HTML and JavaScript dynamically into the frontend.
-
validation.php
- Handles password validation via
POST. - Sets encrypted cookies with the correct password session.
- Supports error messaging for incorrect attempts.
- Provides content masking when accessed through RSS feeds.
- Validate session status
- Handles password validation via
-
Screenshots (screenshot-1.png, screenshot-2.png, screenshot-3.jpeg)
- Preview the admin panel settings interface.
- Show how the popup form appears on the frontend.
- Example of protected content in action.
Credits
This plugin was created by Dmytro Zamaraiev for easy blog protection.
License
This plugin is licensed under the GNU General Public License v3.0.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory or install via the WordPress plugin installer. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to
Settings > Password Protection. - Set your desired password and configuration options.
- Save your settings and visit the blog frontend to test.
Frequently Asked Questions
Yes, you can enable protection only for specific categories using checkboxes in the settings.
Enable the secure access link and share the generated URL. This URL includes a secure hash that bypasses the password screen.
Yes, the plugin allows you to disable password protection based on WordPress user roles.
RSS feed content is also protected. You can customize the feed message displayed to unauthorized users.
You can configure cookie session duration in hours (e.g. 24 for 1 day, 168 for 7 days).
Yes, you can change the title of the popup, main message, error message, and “Return” button label and destination URL.
Review feed
Changelog
1.4.2
- Initial release
- Added full settings page in admin panel
- Support for global and category-specific password protection
- User role exclusion (Admin, Editor, etc.)
- Secure sharing URL functionality
- Popup-based password input form
- Customizable messages and session duration
- Frontend and feed content protection


