We have a budding feature Do you want to require login to individual webappscontrol 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.
Note - each app may have created a corresponding webapp. It's in this webapp that the Login Required may be selected.
If selected, this settings makes it such that the application will ask for a user name and a password.
Unfortunately this is no integrated yet with the rest of the user/password system already in place, so for now, it has to be done using htaccess controls.
We have decided to make these a global setting, i.e. the users and password are all the same to all the apps that require login.
== How to do it ==
This requires that an creation of two files (.htaccess file and an htpassword file ) be created placed in a place that it's accessible to the directory of each web serverapplication you want to protect.
To create an <code>htpasswd</code> file containing the users and passwords