Prova a leggere qua, magari scopri qualcosa: http://httpd.apache.org/docs/1.3/programs/htpasswd.html