Solved

passwords

Posted on 1997-05-05
2
141 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Update a registry value to every user hive 15 82
.csv files 5 93
Access Control Entries lost in Windows folders 3 54
script issue to add permissions to the registry hive 2 37
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
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 …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

772 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