Solved

Members Only Section

Posted on 1997-05-23
4
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

735 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