• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

Members Only Section

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
spooner
Asked:
spooner
  • 2
1 Solution
 
julio011597Commented:
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
 
icdCommented:
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
 
spoonerAuthor Commented:
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
 
icdCommented:
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 expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now