create a file called .htaccess in the directory you want protected with the following:
AuthUserFile /pathinfo/filename.pwd
AuthName "Title To Display On Pass Prompt"
AuthType Basic
<Limit GET>
require user user1 user2 user3
</Limit>
Next type the folowing
htpasswd -c /pathinfo/filename.pwd user1
This will create the password file, and you'll get propted for a password for user1
to add users do:
htpasswd /pathinfo/filename.pwd userX
Feel free to email me for help