SonyaL wrote:
When you do your websites do you have a page for your customers to look at proofs?
If so do you have that page password protected?
I am in the process of designing my site and I really wanted to do a password protected page for proofs and I am not to sure how to go about doing this.
Any suggestions?
Thanks,
Sonya
Probably the most common way is using .htpasswd and .htaccess permissions to set password access.
Example from my site, data has been changed to protect the stupid. (me)
# Begin password protection #
AuthType basic
AuthName "Proof Access"
AuthUserFile /www/d/yoursite/.htpasswd
AuthGroupFile /www/d/yoursite/.htgroupproofs
Require group authors
# End password protection #
You would put this in a file named .htaccess in the directory you wanted to protect. When anything from that directory is requested, this file tells the server to ask for a user name and password. It then checks the .htgroupproofs file to see if that user name is allowed in that directory. Then checks the .htpasswd file to see if the user name and password are correct.
Sample .htpassword, these passwords are encrypted.
User Fred:5nqE5emsllR5Y
User1:$1$sa1KT07H$FqyYBerePBdJfP4aiPEXJ0
User2:$1$zlE7tQhs$2XQVTLrdhVzbGdYQZS0ta0
User3:3kF8VTd6E2.6A
Sample .htgroupproofs. With this file only these users can access the directory, User Fred can not, even though he does have a vaild pass for the site.
authors: User1 User2 User3
The password and groups files can be names anything you want, just as long as the .htaccess file points to them. You can repeat this process for as many directories as you want, also all subfolders are protected unless you specify something different.
If you don't need different groups for different levels of access its even easier. This will allow anyone with a user/pass in the .htpasswd file into that directory.
AuthType Basic
AuthName "Proofs Area"
AuthUserFile /www/d/yoursite/.htpasswd
Require valid-user
Hopefully that made sense and answered your question.