I want a separate login for my site for Drupal. One to simply access the page, the same functionality that an .htaccess login would provide.

Except I want it to be styled as a separate html page, not as the default module popup htaccess does.

Is there a Drupal module for this or do I need a simple PHP script outside Drupal.


2 Answers 2


The Secure Site module could be the best choice:

This module allows you to authenticate users with a browser-based password (HTTP Auth). You can restrict access to the site by role and choose to secure restricted pages or the entire site. This means the site will be inaccessible to search engines and other crawlers, but you can still allow access to certain users.

You can change the settings to use a page instead the popup. It's also possible to theme the login page - see the information here.


The Protected Node module allows you to optionally set passwords on nodes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.