Solved

passwords

Posted on 1997-05-05
2
138 Views
Last Modified: 2013-12-25
How do I set up a server to ask for a user name and then a password before you enter a page.
0
Comment
Question by:crichardson
2 Comments
 

Accepted Solution

by:
nquiogue earned 20 total points
ID: 1827994
This has almost nothing to do with CGI.  Restricting access to a page in a web server means configuring your web server.  With the http server, one can use the authentication module that is often built-in in the servers (Apache, etc.).  You can look into the documentation of your server to handle this since there are many ways to implement authentication:
1. using the system passwd
2. using DBM
3. using Berkley DBM
4. using mSQL

That is in the case of Apache but other NCSA-compatible should support as such.
0
 

Expert Comment

by:grmbl
ID: 1827995
Use http://www.lycos.com/customsearch.html and search for:
.htaccess AND .htpasswd
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
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 …

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now