Forum Moderators: mack
Thanks
This can be accomplished with some server-side scripting. What kind of hosting do you have? What kind of programming languages are installed on that server?
Getting these specifics will help help us point you in the correct direction. :)
Sample .htaccess file:
AuthType Basic
AuthUserFile /home/user/domain.com/admin/.htpasswd
AuthName "Secret customer area."
require valid-user
Sample .htpasswd file:
username:password
If you need this to be more secure you can encrypt the password. To get an encrypted password type this in the Unix command line:
htpasswd -nb username password