Gossamer Forum
Home : Products : Links 2.0 : Customization :

.htaccess & .htpasswd

Quote Reply
.htaccess & .htpasswd
Hello all!

I've never had a chance to set these files all by my self, but now is the momemnt when I really need to know how it works.
Could some one help me out with it, or point me to the good tutorial on the 'net.

Thanks al lot!

Pasha
Quote Reply
Re: .htaccess & .htpasswd In reply to
There's a good tutorial on .htaccess and .htpasswd at BigNoseBird.com. Just point your browser to http://bignosebird.com/passwd.shtml

I hope this helps.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/


Quote Reply
Re: .htaccess & .htpasswd In reply to
Bobsie,
That tutorial only explains how to create and use .htaccess from telnet. Since I don't have a telnet accound on my server, is there any way to set .htaccess & .htpasswd using ftp? Or may be some CGI script will help with it???

You see, my webpage is on VirtualAve.net, when I asked them to help me with it, they simply told me that they don't support .htaccess & .htpasswd, they also told me that if I need to have these files, I will have to do it all by my self ....

Well, here I am, all by my self Smile
Any ideas?


Pasha
Quote Reply
Re: .htaccess & .htpasswd In reply to
You can create a .htaccess file offline and then upload it via ftp (as ASCII) into the directory you want to protect. However, DO NOT do this if you have no ability to create a .htpasswd file on your system. You cannot create a .htpasswd file offline without some type of script to do it. The passwords in that file are encrypted by the operating system -- they cannot be plain text. You could end up locking yourself out of the system.

What I suggest you do is visit the CGI Resource under the Password Protection category at www.cgi-resources.com/Programs_and_Scripts/Perl/Password_Protection/ . There you will find a few scripts that allow you to manage both the .htaccess and .htpasswd files for your system. Be aware, though, that not all are free scripts and, in fact, most are not.

Also, be sure to check with your ISP to ensure that you can add the .htaccess/.htpasswd files to begin with. Some ISPs do not allow this function by customers. Who knows, your ISP might already have a way for you to do this without using telnet (they may already have scripts to do it installed).

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/




[This message has been edited by Bobsie (edited January 27, 1999).]
Quote Reply
Re: .htaccess & .htpasswd In reply to
One question to Alex:

Will "File Manager v1.0" help me with this problem?
To me it looks like it can protect directories, but how secure are they gonna be? Is "File Manager v1.0" creates .htaccess & .htpasswd files or something else?

P.S. Thanks Bobsie for your help!

Pasha
Quote Reply
Re: .htaccess & .htpasswd In reply to
Thanks Alex!

File Manager v1.0 did what it supposed to do. But there's only one thing I can't figure out:
"where the hell password file is"???

I mean, I've set all configs as was I supposed to, and I have an access every where from my home/root directory to the last damn file anywhere on my website, but still there's a question:
"where the hell password file is"???
I just can't find it! Smile

Thanks for the great tool!


Best Regards,

Pasha
Quote Reply
Re: .htaccess & .htpasswd In reply to
... ignore my last post. I just found it Smile
Good encription though.

Thanks again!

Pasha