We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Login with a password

bulmer
bulmer asked
on
Medium Priority
243 Views
Last Modified: 2013-12-25
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
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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?
icd

Commented:
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?

Author

Commented:
nope, you have just solved my problem!  Thanks
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.