You are here

README.txt in Shield 7

Description
-----------
This module creates a simple shield for your site with Apache authentication. When configured, users will be prompted for a simple username/password combination.

Requirements
------------
Drupal 7.x

Installation
------------
1. Copy the entire shield directory to your contributed modules directory.

2. Log in as an administrator. Enable the module at admin/modules.

Configuration
-------------
1. Configure which roles have permission to administer the Shield module at admin/people/permissions.

2. Visit admin/config/system/shield to enable authentication.

3a. Complete the user and password fields in the 'credentials' section of the Shield configuration page. When the user field is left empty, authentication will be disabled.

3b. Alternatively, the user (e.g. 'FOO') and password (e.g. 'BAR') values can be configured via settings.php's $conf array:
$conf['shield_user'] = 'FOO';
$conf['shield_pass'] = 'BAR';

3c. Alternatively, the user (e.g. 'FOO') and password (e.g. 'BAR') values can be configured via drush:
drush vset shield_user FOO
drush vset shield_user BAR
# To disable:
drush vdel shield_user

Support
-------
Please use the issue queue for filing bugs with this module at
https://www.drupal.org/project/issues/shield

File

README.txt
View source
  1. Description
  2. -----------
  3. This module creates a simple shield for your site with Apache authentication. When configured, users will be prompted for a simple username/password combination.
  4. Requirements
  5. ------------
  6. Drupal 7.x
  7. Installation
  8. ------------
  9. 1. Copy the entire shield directory to your contributed modules directory.
  10. 2. Log in as an administrator. Enable the module at admin/modules.
  11. Configuration
  12. -------------
  13. 1. Configure which roles have permission to administer the Shield module at admin/people/permissions.
  14. 2. Visit admin/config/system/shield to enable authentication.
  15. 3a. Complete the user and password fields in the 'credentials' section of the Shield configuration page. When the user field is left empty, authentication will be disabled.
  16. 3b. Alternatively, the user (e.g. 'FOO') and password (e.g. 'BAR') values can be configured via settings.php's $conf array:
  17. $conf['shield_user'] = 'FOO';
  18. $conf['shield_pass'] = 'BAR';
  19. 3c. Alternatively, the user (e.g. 'FOO') and password (e.g. 'BAR') values can be configured via drush:
  20. drush vset shield_user FOO
  21. drush vset shield_user BAR
  22. # To disable:
  23. drush vdel shield_user
  24. Support
  25. -------
  26. Please use the issue queue for filing bugs with this module at
  27. https://www.drupal.org/project/issues/shield