Password protect your Drupal site with Shield-module

Kristian Polso • July 15, 2014

Drupal Planet Module

From time to time, there might arise a situation where you want to password protect your Drupal site. Maybe the site is under development, or you just want it to be available to a selection of users.

This is usually done with something called "HTTP Basic Auth", which allows you to password protect a site. This can be done in Apache by modifying the .htaccess file. 

There are some great tutorials on how to do this, but this is not the correct way of doing it for couple of reasons:

The Shield module is a simple module that allows you to password protect your site. All of the configuration is done on the administration interface, so no file editing is necessary. Since it is just a single module, it can be easily applied to just one site in a multisite environment.

Share This Post