[webproducers] Re: password protected directory

Hi again,
Well, my rookie status showed right through on this one, I have now found
out I need to use Telnet to set up the two files mentioned for password
protecting a site/directory, my non-geek way just wouldn't cut it.
A friend of mine sent me excellent instructions, so if anyone wants them,
let me know!

Susan

-----Original Message-----
From: webproducers-bounce@xxxxxxxxxxxxx
[mailto:webproducers-bounce@xxxxxxxxxxxxx]On Behalf Of Susan Friesen
Sent: Monday, November 05, 2001 7:40 PM
To: webproducers@xxxxxxxxxxxxx
Subject: [webproducers] password protected directory



Hi everyone,
I'm at a loss and I'm hoping there is an expert out there who can walk me
through this! I need to password protect a directory within a web site I'm
creating. I've contacted the web hosting company and they are saying its not
their problem, its something I have to set up.

I understand I need a .htaccess file and a .htpasswd file set up.

with the .htaccess file I have:

AuthUserFile /home/www/members/.htpasswd
AuthGroupFile /dev/null
AuthName "Members Only"
AuthType Basic
require user member

all is good so far, when I uploaded this into the protected directory, I do
get a prompt asking for the user name and password.

Now is where I'm running into problems, setting up the .htpasswd file. I
have to confess here, I am only proficient at using ftp software to upload
and download files, I know I know, it's such a non-geek way, but its the way
I was taught. :)

Can someone tell me how I can set up the .htpasswd file without having to
log in via command prompt (or whatever dos command box the programmers use)?

So far I have:
htpasswd -c .htpasswd member

but of course, there is no actual password associated with it yet. If I knew
how it's supposed to look like in a physical file format, then I can
replicate that the "manual" way.
Unfortunately, I don't know what kind of server is being run (Apache, NT
etc) but I figure through trial and error, I should eventually hit the mark!
I only need one user name to be associated with this file, so it "should" be
simple, right?

Any takers out there?

many thanks,
Susan

__________________________________________________________________________
Check out www.webproducers.org to easily access list commands like
subscribe, unsubscribe, digest mode, vacation, and to read the list archive.

Questions and comments are welcome just e-mail me, morry@xxxxxxxxxxxxxxxx

__________________________________________________________________________
Check out www.webproducers.org to easily access list commands like subscribe, 
unsubscribe, digest mode, vacation, and to read the list archive.

Questions and comments are welcome just e-mail me, morry@xxxxxxxxxxxxxxxx

Other related posts: