Solved

Login with a password

Posted on 1997-05-02
4
216 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
0
Comment
Question by:bulmer
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
icd earned 100 total points
ID: 1827979
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
 

Author Comment

by:bulmer
ID: 1827980
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
 
LVL 5

Expert Comment

by:icd
ID: 1827981
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
 

Author Comment

by:bulmer
ID: 1827982
nope, you have just solved my problem!  Thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question