Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Best way to hide passwords.by dws (Chancellor) |
on Mar 06, 2001 at 03:49 UTC ( [id://62384]=note: print w/replies, xml ) | Need Help?? |
If you're using Apache, put the file containing the password in a subdirectory, and add the following .htaccess file to that directory:
Voila! Nobody sees it. The only risk you have is that if one day you munge the .htaccess, the directory will be visible. tadman's advice below is sounder in that regard.
In Section
Seekers of Perl Wisdom
|
|