How do I....

Kick Back and Relax in the Cheers! Forum. Thoughts on life or want advice or thoughts from other pca members. Or just plain "chill". Originator of da Babe threads.
Post Reply
RubberDuckie
Posts: 2854
Joined: Thu Nov 23, 2000 3:38 am
Location: Texas
Contact:

How do I....

Post by RubberDuckie »

password a webpage. I have a subfolder on my site I would like to password. Not the whole site .... just a subfolder. Any ideas? Should be simple. Thanks
JSTMF
huypham
Genuine Member
Posts: 77
Joined: Thu Dec 28, 2000 4:15 am
Contact:

Post by huypham »

what kind of server do you have?

if it's linux, google .htpassword
huypham
Genuine Member
Posts: 77
Joined: Thu Dec 28, 2000 4:15 am
Contact:

Post by huypham »

.htpasswd rather
User avatar
Busby
Golden Member
Posts: 1890
Joined: Tue Nov 28, 2000 6:25 pm
Location: Atlanta Area, GA, USA
Contact:

Post by Busby »

Its a .htaccess file that is setup to use passwords. You use the htpasswd command line to generate a password file but you need a htaccess file. <b>But that is only when using Apache HTTP Server</b>

What type of passwording? For just you or for a members only type thing? You may want to look into a PHP/MySQL solution as if its something that matters the Apache method can be broken if the proper precautions are not taken. I've never dealt with IIS so I can't tell you how to do it with that.

And huypham, just because its linux doesn't mean that it is Apache. Most linux distros include Apache but even so, some people have their own preference.
<a href="mailto:busby1218@charter.net">
<img src="http://justinbusby.com:8080/signature.gif" border="0"></a>
Post Reply