WebSvcExtRestrictionList Metabase Property (IIS 6.0)
The WebSvcExtRestrictionList property contains a multi-string list of ISAPIs and CGIs used by applications on the Web server, including their location, descriptive information, and a flag for determining whether the Web service extension is enabled or disabled. The WebSvcExtRestrictionList property is used by the Web server to determine whether an ISAPI extension is permitted to run.
Each string element is written as:
Some examples of elements in this property are shown below. The first two entries, for *.dll and *.exe are special cases, referring to "All Unlisted ISAPIs" and "All Unlisted CGIs," respectively. The Web server core enables or disables all ISAPIs or all CGIs depending on the setting, if these entries are present:
"0,*.dll" "0,*.exe" "0,c:\windows\system32\inetsrv\asp.dll,0,ASP,Active Server Pages" "0,c:\windows\system32\inetsrv\httpodbc.dll,0,HTTPODBC,Internet Data Connector" "0,c:\windows\system32\inetsrv\ssinc.dll,1,SSINC,Server Side Includes"
Configuring the WebSvcExtRestrictionList property using Admin Base Object (ABO) can be risky because the format of the property must be perfect. The property is represented as a buffer of strings that are delimited by \0 and composed of five fields separated by commas. A safer way to configure this property is by using the extension-related ADSI and WMI methods of the IIsWebService object. For a brief comparison of ADSI and WMI, see Administering IIS Programmatically.
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.