Solved

Members Only Section

Posted on 1997-05-23
4
175 Views
Last Modified: 2013-12-25
I am trying to develop a website that has a members only section.  Members need to login to see parts of the site.  I do not want to allow registration online, only by telephone.  It does not need to be secure only deter traffic.  Javascript does not seem to do what I want so I would like it in PERL.

Spooner
0
Comment
Question by:spooner
  • 2
4 Comments
 
LVL 5

Expert Comment

by:julio011597
ID: 1828082
The simpler and standard way to do this is by web server configuration.

Doing the job with CGI is quite involving and has some drawbacks.

If you still need CGI, please ignore this comment.

Rgds, julio
0
 
LVL 5

Accepted Solution

by:
icd earned 50 total points
ID: 1828083
The simplest way is to create a directory from your host:-

http://www.yourhost.com/members-only

In that directory use the .htaccess method to restrict access. This is simple to administer and has the advantage that it is secure.

Anyone accessing the directory is presented with a login screen, they enter their name and password and thereafter they have access to the documents in that directory.

You can find information on the .htaccess method at:-
http://ups.ecn.purdue.edu/ecn/FAQ/html/httpd/access_control/access.control.html
0
 

Author Comment

by:spooner
ID: 1828084
What if your server is not a UNIX box?  Can this still be done from Netscape FastTrack Web Server or an IIS server on NT or Windows95?

spooner
0
 
LVL 5

Expert Comment

by:icd
ID: 1828085
Ah. I see. In that case no.

For a CGI option, are you prepared to generate all your documents from cgi or will you have some/all as html?
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
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 …
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

760 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

17 Experts available now in Live!

Get 1:1 Help Now