View Single Post
Old 11-03-2000, 11:56 AM   #1
artsapimp
Member (10 bit)
 
Join Date: May 1999
Location: Orlando, FL
Posts: 975
Send a message via ICQ to artsapimp
I am wanting to obtain the IP address of everyone attempting to view my site (internal network) and either deny them access or grant them access depending on the IP range. I know in IIS I can do that but that's not fun at all. Here's my plan...

I want it to check the range and if it is 209.26.217.* it then redirects them to home.asp, instead it redirects them to contact.asp.

If you have any idea on how I could do it instead of posting every IP into a database and then comparing it with the Request.ServerVariables("Remote_Addr") IP address I would really appreciate it.

I guess the main question is how would I use a wildcard for the range, meaning anyone within that range (209.26.217.*)?

Thanks for any help.
artsapimp is offline   Reply With Quote