*Copy the <code>.htpasswd</code> file to the web application path (i.e. /var/hda/web-apps/appname).
</blockquote>
*Create the <code>.htaccess</code> file:
{{Text|AuthUserFile /var/hda/web-apps/linfo/.htpasswd
AuthGroupFile /dev/null
AuthName "Password Protected Area"
AuthType Basic
<limit GET POST>
require valid-user
</limit>}}
==== Set the file permissions: ====