Skip to content

drupalprojects/guardr

Repository files navigation

Guardr Distribution

Drupal distribution with common modules for enhancing web application security.

Use Guardr as the base for a new Drupal project

Download Guardr 7.x-2.45 or use drush $ drush dl guardr.

Install Drupal using the Guardr codebase as you would normally, but make sure to select the Guardr profile during the installation process.

Building a Guardr instance for development and testing

Download the Guardr profile.

Build the instance:

$ drush --no-patch-txt make /build-guardr.make

Note: --no-patch-txt is optional, but recommended for production use. It prevents the creation of PATCHES.txt files in any project which has patches applied by the Guardr distribution.

And finally install the site with drush site-install:

$ cd $ drush si --db-url=mysql://[db_user]:[db_pass]@localhost/[db_name] --account-name=admin --account-pass=[account-password] --account-mail=admin@example.com --site-name=Guardr --site-mail=admin@example.com guardr

Or if you have Drush >= version 5 you can use drush qd to test Guardr:

$ cd $ drush qd --root= --use-existing --profile=guardr --cache --watchdog --yes

You can also download, install, and run Guardr from one drush qd command:

$ drush qd guardr --core=guardr --profile=guardr --cache --watchdog --yes

##Default Settings

###Password Policy Applied by password_policy.module

Passwords are set to expire every 90 days with a warning email sent out 14 & 7 days before it is set to expire.

Passwords must:

  • Contain atleast 3 charecter types
  • Must contain atleast 2 digits
  • Cannot contain the username
  • Be atleast 8 charecters long
  • Cannot match the previous 24 passwords