FP97/IIS 2.0 Security

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?
cmiller031797Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
n3mtrConnect With a Mentor Commented:
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
 
cmiller031797Author Commented:
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
 
n3mtrCommented:
Try http://intergalactinet.com/www/cgi/ for links related to CGI/Perl scripts.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.