Login with a password

I'm operating a web site and considering allowing registered users additional features.  These fetaures would have to be password protected each with an individual login name and password.

I am interested in one with a setup similar to that of experts - exchange where a user is asked to enter there password to get into the site!

Can you tell me where I can obtain such a cgi script, it must be free.

Thanks alot
bulmerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

icdCommented:
This access control uses an 'htaccess' file to determine which users are allowed to enter a site (actually a directory). There is an access tutorial at:-

http://faq.clever.net/htaccess.htm

This will give you full details on how to set up this file.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bulmerAuthor Commented:
Will this allow me to set up a protection similar to yours?  How secure is this?  I already have a .htaccess file used for redirecting error messages and have found it to be unsecure.  I'd prefer a cgi script?  Any more idea's?
0
icdCommented:
Experts Exchange uses this scheme, as do many sites and it is secure. A cgi script can be no more secure (and indeed is likely to be far LESS secure).

Some sites will however allow the maintainence of the .htaccess file to be carried out by a cgi script. In this way people can register with a site through a script. Their username and password are entered into the .htaccess file using the script. I understand this is the way that Experts Exchange works and perhaps this is what you are looking for?

I am puzzled by your suggestion that you are already using this for 'redirecting error messages' and that you find it 'unsecure'. Can you elaborate?

0
bulmerAuthor Commented:
nope, you have just solved my problem!  Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.