Do you want to control which HDA users can access web applications. While this function does not currently exist in Amahi, it can be done quite easily by following the steps outlined below. When a user accesses the specific web application, they will be asked for a user name and password.
== How to do it ==
*This requires creation of two files (.htaccess and htpassword) be placed in the directory of each web application you want to protect.
*The <code>htpasswd</code> file will identify user names/passwords (encrypted) and the <code>.htaccess</code> file will contain the code needed to use that file to protect the web application.
*To create the <code>htpasswd</code> file you can use [http://www.webmaster-toolkit.com/htaccess-generator.shtml public htaccess/htpasswd generator] and copy the contents of what the "And this is what your .htpasswd file should look like..." box or use the htpasswd command.
== How to do it ==
This requires creation of two files (.htaccess and htpassword) be placed in the directory of each web application you want to protect.
To create an <code>htpasswd</code> file containing the users and passwords
* you can go to a [http://www.webmaster-toolkit.com/htaccess-generator.shtml public htaccess/htpasswd generator] and copy the contents of what the "And this is what your .htpasswd file should look like..." box has
* or you can use the htpasswd command (first time with -c)