buyerseller2008
May 18 2008, 02:46 PM
Hi folks,
New to zymic and wondered if it was possible to Password Protect a Directory.
Thanks for any help.
Derek
Dave
May 18 2008, 02:59 PM
Sure is, using a .htpasswd file.
nitsuarox
May 18 2008, 03:41 PM
QUOTE(buyerseller2008 @ May 18 2008, 02:46 PM)

Hi folks,
New to zymic and wondered if it was possible to Password Protect a Directory.
Thanks for any help.
Derek
http://www.ilovejackdaniels.com/apache/pas...-with-htaccess/http://ag.arizona.edu/ecat/web/password-protect.htmlA couple guides for it
freecrm
May 18 2008, 07:25 PM
The system above is really simple and you will need to upload two files.
.htaccess (This file defines where to look for the .htpasswd file and what to do with it)
.htpasswd (This file purely contains usernames and encrypted passwords)
It is recommended that these files are put into a non-public folder but in my experience, i have put them into the folder that I want to protect and if you can gain access to the folder in the first place, you can't access these files without a username and password!
You can have a standard .htaccess file in the root, giving general permissions and then independant seperate ones in each folder you want to protect.
Each time someone tries to access anything in that folder, they are presented with a windows splash screen, prompting you for a username and password.
The only glitch I have ever found is that these files are not processed corectly by WAP phones....
Hopes this helps a little more.
pcdoc2010
May 27 2008, 08:16 PM
I have been trying to get this to work and I'm not sure what the problem is other then perhaps my path for .htpasswd is incorrect.
What should the path be?
My file is as follows:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /.htpasswd
AuthGroupFile /dev/null
require valid-user