Summary
PHP Authentication shield. It creates a simple shield for the site with Apache authentication. It hides the sites, if the user does not know a simple username/password. It handles Drupal as a "walled garden".
This module helps you to protect your (dev) site with HTTP authentication.
Configuration
If you don't need the authentication just live blank the user field.
- enable the module
- go to the admin interface (admin/config/system/shield) and fill the form
- nothing else :)
On CGI and FastCGI
Modify .htaccess, inside <IfModule mod_rewrite.c>. Add the following line at the begining of the section:
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]Other
The original idea of the project came from chx. He also added tips for improvements. I'd like to thank the help and ideas of boombatower.
2012-04-26: Announcement: kalman.hosszu became a co-mainter of the module. He merges the features of his HTPasswd protection module into the Shield. Thank you very much Kálmán!
Note: If you want to use it only on a dev site, and not in the production site, I suggest you to consider using the Environment modules and reading issue #1394326.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Maintenance fixes only
- Reported installs: 800 sites currently report using this module. View usage statistics.
- Downloads: 4,288
- Last modified: January 21, 2013
