Protected Node Installation and Basics

Last updated on
25 April 2019

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Installation

Installing the Protected Node Module installation is as simple as installing most modules:

  1. Download the tarball from the Drupal.org project page
  2. Extract the files to sites/all/modules or wherever you keep your contrib modules
  3. Enable the module in Drupal
  4. Check the permissions

Permissions

Once the Protected Node module is installed, you can edit access permissions and allow your users to access functionality based on their roles. Detailed instructions can be found on the Protected Node module: Permissions page of this documentation.

Create a Protected Node

Either create a new, or edit an existing node, and open the "Password protect this page" field set. In the field set, select "This page is protected" and enter a password twice. Save, and the node is protected.

Open another browser in incognito mode or log out of Drupal and visit the page you just protected. You should be directed to a form asking you for the password.

See the Protected Node Form section of the Global Settings documentation for details about how to modify the content of the password entry page.

Advanced Settings

A few of the many advanced settings available are:

  • Allow anonymous users to create a page with a password
  • Prevent a set of users from accessing protected nodes while those allowed can still have to use the password to see the content (when combined with the node privacy by role module)

Help improve this page

Page status: No known problems

You can: