The purpose of this document is to explain some uses of htpasswd.
http://wiki.apache.org/httpd/PasswordBasicAuth
http://weavervsworld.com/docs/other/passprotect.html
mkdir /etc/htpasswd touch /etc/htpasswd/.htpasswd && chmod 644 /etc/htpasswd/.htpasswd htpasswd -b -s -c /etc/htpasswd/.htpasswd '<username>' '<password>'
[Edit]