Secure system - AtlasOfLivingAustralia/documentation GitHub Wiki
In this section, we will see :
- Page restrictions with ala-auth-plugin
- Page restrictions using Apache2 and htpasswd
- Page restrictions using Ansible
Available to : https://github.com/AtlasOfLivingAustralia/ala-auth-plugin
@Todo : steps to configure the plugin
First, you have to create a file for users and passwords :
$ sudo touch /usr/local/apache/password
Then, create a password for user name_user:
$ sudo htpasswd -c /usr/local/apache/password <name_user>
Modify the Apache2 configuration file (for each page you want to have restrict access) :
<Location "/manage/gbifLoadCountry”>
AuthType Basic
AuthName "Authentication Required"
AuthUserFile "/usr/local/apache/password"
Require valid-user
Order allow,deny
Allow from all
</Location>
@Todo : steps or link to an other wiki page