IIS Server Security - Scripting IP address and domain name restrictions

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > March 2004 > Scripting IP address and domain name restrictions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Scripting IP address and domain name restrictions
Philipp Uihleien

2004-03-26, 11:54 am

Hi,
is it possible to set settings under "Directory Security -> IP address and domain name restrictions" with vbscript?
I want a user to enter his internal ip-range in a hta file and then a script should set the settings for some virtual directories. I didn't find this in the iis scripts under c:\windows\system32, and importing a config file doesn't work, as I don't know h
ow to build the IPSecurity string.
Any ideas?

Philipp (uihlein (at) escde.net)
Tom Kaminski [MVP]

2004-03-26, 11:54 am

"Philipp Uihleien" <anonymous@discussions.microsoft.com> wrote in message
news:D5C6A8E9-6D79-407A-920B-13868160FC08@microsoft.com...
> Hi,
> is it possible to set settings under "Directory Security -> IP address and

domain name restrictions" with vbscript?
> I want a user to enter his internal ip-range in a hta file and then a

script should set the settings for some virtual directories. I didn't find
this in the iis scripts under c:\windows\system32, and importing a config
file doesn't work, as I don't know how to build the IPSecurity string.
> Any ideas?


http://www.iisfaq.com/default.aspx?View=A136&P=109

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsser...ty/centers/iis/



Philipp Uihlein

2004-03-26, 2:40 pm

Thanks!
That's exactly what I was looking for!

Philipp
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com