Title: Blog Password Protection &#8211; BPP
Author: Zamaraiev Dmytro
Published: <strong>16 Luglio 2025</strong>
Last modified: 16 Luglio 2025

---

Ricerca i plugin

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

![](https://ps.w.org/blog-password-protection-bpp/assets/icon-256x256.png?rev=3329311)

# Blog Password Protection – BPP

 Di [Zamaraiev Dmytro](https://profiles.wordpress.org/dmytro1zamaraiev/)

[Scarica](https://downloads.wordpress.org/plugin/blog-password-protection-bpp.1.4.2.zip)

 * [Dettagli](https://it.wordpress.org/plugins/blog-password-protection-bpp/#description)
 * [Recensioni](https://it.wordpress.org/plugins/blog-password-protection-bpp/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/blog-password-protection-bpp/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/blog-password-protection-bpp/#developers)

 [Supporto](https://wordpress.org/support/plugin/blog-password-protection-bpp/)

## Descrizione

**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:

 1. **plugin_settings_page.php**
 2.  * 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)
 3. **secure_content.php**
 4.  * 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.
 5. **validation.php**
 6.  * 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
 7. **Screenshots (screenshot-1.png, screenshot-2.png, screenshot-3.jpeg)**
 8.  * 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.

## Screenshot

[⌊Admin settings interface for configuring password, category filters, secure links,
and messages.⌉⌊Admin settings interface for configuring password, category filters,
secure links, and messages.⌉[

Admin settings interface for configuring password, category filters, secure links,
and messages.

[⌊Popup modal shown to visitors when password protection is enabled.⌉⌊Popup modal
shown to visitors when password protection is enabled.⌉[

Popup modal shown to visitors when password protection is enabled.

[⌊Blog frontend with protected content and password request.⌉⌊Blog frontend with
protected content and password request.⌉[

Blog frontend with protected content and password request.

## Installazione

 1. Upload the plugin folder to the `/wp-content/plugins/` directory or install via
    the WordPress plugin installer.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to `Settings > Password Protection`.
 4. Set your desired password and configuration options.
 5. Save your settings and visit the blog frontend to test.

## FAQ

### Can I protect only certain categories?

Yes, you can enable protection only for specific categories using checkboxes in 
the settings.

### How do I share access without a password?

Enable the secure access link and share the generated URL. This URL includes a secure
hash that bypasses the password screen.

### Can I allow Admins or Editors to bypass protection?

Yes, the plugin allows you to disable password protection based on WordPress user
roles.

### What happens on RSS feeds?

RSS feed content is also protected. You can customize the feed message displayed
to unauthorized users.

### How long does the password session last?

You can configure cookie session duration in hours (e.g. 24 for 1 day, 168 for 7
days).

### Can I customize the login popup text and title?

Yes, you can change the title of the popup, main message, error message, and “Return”
button label and destination URL.

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“Blog Password Protection – BPP” è un software open source. Le persone che hanno
contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Zamaraiev Dmytro ](https://profiles.wordpress.org/dmytro1zamaraiev/)

[Traduci “Blog Password Protection – BPP” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/blog-password-protection-bpp)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/blog-password-protection-bpp/)
segui il [repository SVN](https://plugins.svn.wordpress.org/blog-password-protection-bpp/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/blog-password-protection-bpp/)
tramite [RSS](https://plugins.trac.wordpress.org/log/blog-password-protection-bpp/?limit=100&mode=stop_on_copy&format=rss).

## 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

## Meta

 *  Versione **1.4.2**
 *  Ultimo aggiornamento **1 anno fa**
 *  Installazioni attive **10+**
 *  Versione WordPress ** 6.6 o superiore **
 *  Testato fino alla versione **6.8.12**
 *  Versione PHP ** 7.2 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/blog-password-protection-bpp/)
 * Tag
 * [category restriction](https://it.wordpress.org/plugins/tags/category-restriction/)
   [password](https://it.wordpress.org/plugins/tags/password/)[protection](https://it.wordpress.org/plugins/tags/protection/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/blog-password-protection-bpp/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

[La tua recensione](https://wordpress.org/support/plugin/blog-password-protection-bpp/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/blog-password-protection-bpp/reviews/)

## Collaboratori

 *   [ Zamaraiev Dmytro ](https://profiles.wordpress.org/dmytro1zamaraiev/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/blog-password-protection-bpp/)