Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Emulsify Tools 2.2.0 Minor update available for module emulsify_tools (2.2.0). amazee.ai Private AI Provider 1.3.4 Minor update available for module ai_provider_amazeeio (1.3.4). highlight.js Input Filter 2.0.0 Major update available for module highlightjs_input_filter (2.0.0). Webform QR Code Element 1.4.0 Minor update available for module webform_qr_code_element (1.4.0). REMP Paywall 2.0.1 Minor update available for module remp (2.0.1). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). CRM - Contact Relationship Management 1.0.0-beta11 New beta version released for module crm (1.0.0-beta11). REMP Paywall Module remp now has official Drupal security advisory coverage.

Single Page Protection

60 sites No security coverage
View on drupal.org

Single Page Protection allows you to protect specific internal website pages with individual passwords, eliminating the need to create user accounts for each visitor. You can configure protected paths and their passwords through the administration interface, and customize instructions while allowing trusted roles to bypass the password prompt.

Introduction

Single Page Protection protects selected internal Drupal paths with per-page passwords. It supports Drupal 10 and Drupal 11 sites that need lightweight page-level protection without creating Drupal user accounts for every visitor.

Features

  • Configure protected internal paths from the administration UI.
  • Store page passwords as PHP password hashes.
  • Edit protected paths and replace passwords without deleting records.
  • Customize the password form instructions with a Drupal text format.
  • Allow trusted roles to bypass page protection.
  • Redirect anonymous visitors to the password form until the page password is valid.

Installation

composer require 'drupal/spp:^1.0'
drush en single_page_protection

Configuration

  1. Grant administer single page protection only to trusted administrator roles.
  2. Grant bypass single page protection only to roles that should skip protected-page passwords.
  3. Go to Configuration > System > Single Page Protection.
  4. Add internal paths such as /members-only and enter a password for each path.

Security and maintenance

Configured paths must be internal paths that start with /. Protocol-like values, control characters, duplicate paths, and the password form path itself are rejected. Passwords are stored as hashes, legacy plaintext records are rehashed through the update path, and access is controlled with restricted permissions. The project includes Drupal GitLab CI configuration and is maintained for Drupal 10 and Drupal 11.

License

This project is licensed under GPL-2.0-or-later.

Activity

Total releases
3
First release
Jun 2026
Latest release
2 weeks ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.10 Stable Jul 14, 2026
1.0.9 Stable Jun 18, 2026
1.0.7 Stable Jun 18, 2026