Solved

Members Only Section

Posted on 1997-05-23
4
188 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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 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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

617 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