Help - Search - Members - Calendar
Full Version: Password Protect A Directory
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
buyerseller2008
Hi folks,
New to zymic and wondered if it was possible to Password Protect a Directory.

Thanks for any help.

Derek
Dave
Sure is, using a .htpasswd file.
nitsuarox
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.html
A couple guides for it
freecrm
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
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.