Solved

FP97/IIS 2.0 Security

Posted on 1997-04-22
3
163 Views
Last Modified: 2013-12-25
I am using FrontPage97 with IIS 2.0 on Windows NT Server 4.0.  I would like to restrict access to certain content on my web site, but I do not want the administrative burden of setting up user accounts, and I do not want to burden my users with typing in a name and password to access the content.

Instead, I would like to specify a list of IP addresses which have access to the content (a subset of my entire site), and have the server automatically match it with the IP address of the incoming user.  If their IP address is not in the list, the server should respond "access denied."

Is this possible?
0
Comment
Question by:cmiller031797
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
n3mtr earned 100 total points
ID: 1854118
Yes it is possible if you route everything restricted through CGI scripts.  The scripts can check the ip addresses and either pass the document or reject them.

An easier way is to have passwords, but also have cookies that bypass the passwords.  Users using Netscape or MS IE would not be bothered with passwords after they login once and accept the cookie.  This would also involve a cgi script to hand out and check cookies and passwords.  A cookie is a small peice of data that is stored on the users system and is returned whenever the site is accessed.
0
 

Author Comment

by:cmiller031797
ID: 1854119
Thanks for the answer.  Now, off hand, can you recommend somewhere that I can get source code for a CGI script that would perform my task.  I imagine it would be easy, and I'm sure its been done and maybe published.  I'd just like to have something to start with that I can customize for my needs. (a good programmer steals code whereever he can get it!).
0
 
LVL 2

Expert Comment

by:n3mtr
ID: 1854120
Try http://intergalactinet.com/www/cgi/ for links related to CGI/Perl scripts.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to count occurrences of each item in an array.
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.

840 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