[webproducers] Re: password protected directory
- From: Lee Semel <lsemel@xxxxxxxxxxxxxx>
- To: webproducers@xxxxxxxxxxxxx
- Date: Tue, 06 Nov 2001 13:58:03 -0500
Hi Susan
The command "htpasswd -c .htpasswd member" is what you would type at the
command prompt to run the "htpasswd" program to create the ".htpasswd" file.
Unfortunately, there isn't program that has a nice interface to create
these files (although some ISPs provide a web-based interface). The
passwords are encrypted, so you can't do it yourself in a text editor such
as BBEdit.
Unix and Windows Apache servers have different ways they encrypt the
password, so you can't create the file on one and use it on another. If
you can find out whether the server is Unix or Windows, I can help you
create a .htpasswd file.
Lee
Lee Semel - lsemel@xxxxxxxxxxxxxx - http://www.innofinity.com
212.353.0009 - fax: 212.214.0788
At 07:40 PM 11/5/2001 -0800, you wrote:
>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
- References:
- [webproducers] Re: thnx!
- From: Eric Berg
- [webproducers] password protected directory
- From: Susan Friesen
Other related posts:
- » [webproducers] password protected directory
- » [webproducers] Re: password protected directory
- » [webproducers] Re: password protected directory
- [webproducers] Re: thnx!
- From: Eric Berg
- [webproducers] password protected directory
- From: Susan Friesen