Solved

Members Only Section

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Python Encoding Problem \u2013 4 105
view results of google SQL query 9 52
Register AutoHotkey 12 53
Access Control Entries lost in Windows folders 3 48
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

912 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