Scripting IP address and domain name restrictions

From: Philipp Uihleien (anonymous_at_discussions.microsoft.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 07:51:11 -0800

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?

Philipp (uihlein (at) escde.net)