#Next, you need to decide on the user names/passwords who will have access. This has to be the HDA users credentials that are used to log into the HDA Dashboard.
==== Create the Files ====
*There are two options for creating the <code>.htpasswd</code> and <code>.htaccess</code> files:*Option 1: Navigate to [http://www.webmaster-toolkit.com/htaccess-generator.shtml .htaccess Generator].
<blockquote>
*Enter desired Username, Password, and Path (physical location where <code>.htpasswd</code> will be stored). For example, Username '''''amahi''''', Password '''''amahi''''', and Path '''''/var/hda/web-apps/linfo'''''.
*Proceed to the Set the Permissions section to complete.
</blockquote>
*Option 2: Perform the following steps [[Open_Terminal_as_root|as root user]]:
{{Code|htpasswd -c -b .htpasswd username password}}