DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 150312 - Last Review: July 7, 2008 - Revision: 5.1

This article was previously published under Q150312
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site:
http://www.iis.net/default.aspx?tabid=1 (http://www.iis.net/default.aspx?tabid=1)

SUMMARY

ISAPI filters can be used with Internet Information Server to add features such as monitoring HTTP transactions or authentication. Filters can be loaded when the W3SVC service starts if they are added to a special key in the registry for IIS 1.0 through IIS 3.0, or in the metabase for IIS 4.0 and IIS 5.0.

MORE INFORMATION

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

IIS 1.0 - IIS 3.0

To install an ISAPI filter for use with a Microsoft Internet Server, follow these steps:
  1. Copy the filter DLL to an appropriate subfolder, such as the SCRIPTS or CGI-BIN subfolder.
  2. Run Regedt32.exe.
  3. Add the full path of the filter DLL to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\ Parameters\Filter DLLs
IIS 4.0 - IIS 5.0

To install an ISAPI filter for use with a Microsoft Internet Information Server version 4.0 or 5.0, follow these steps:
  1. Copy the filter DLL to an appropriate folder, such as the SCRIPTS or CGI-BIN subdirectory.
  2. Open the Internet Service Manager (MMC).
  3. Select the appropriate level for the ISAPI filter:
    • To use the ISAPI filter with all Web sites, select the ServerName icon.
    • To use the ISAPI filter with a specific Web site, select the icon for that Web site (for example, the default Web site).
  4. Right-click the level (icon) that you selected.
  5. Click the ISAPI Filters tab.

    NOTE: To configure an ISAPI filter for all Web sites, first click the Edit button that is next to the Master Properties of the WWW Service.
  6. Click Add.
  7. Type a name for the ISAPI filter.
  8. Click Browse and select the ISAPI filter that you copied in step 1.
  9. Click OK.
  10. Stop the IISADMIN service. To do this, either type net stop iisadmin /y at a command prompt, or use the Services applet that is located in Control Panel (in Windows NT 4.0) or Administrative Tools (in Windows 2000).
  11. Start the World Wide Web Publishing Service by typing net start w3svc at a command prompt, or by using the Services applet that is located in Control Panel (in Windows NT 4.0) or Administrative Tools (in Windows 2000).
  12. Repeat the previous step for any other services that were stopped in step 11.
  13. Browse back to the ISAPI Filters tab (by following steps 1-5) and verify that the filter is loaded properly. You should see a green arrow that is pointing up under the Status column.NOTE: The ISAPI Filters tab specifies a load order, with the filter at the top of the list loading first. Normally Sspifilt.dll, the ISAPI filter for SSL, is at the top of the list to allow any other filters to access data before IIS encrypts and transmits or decrypts and receives TTPS traffic.
Note The steps for adding an ISAPI filter to IIS 6.0 are the same as the steps for IIS 4.0 and IIS 5.0, but if you use an ISAPI filter that implements the SF_NOTIFY_READ_RAW_DATA event, you must change IIS 6.0 from its default configuration.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
327611  (http://support.microsoft.com/kb/327611/ ) IIS 6.0: ISAPI filters for earlier versions of IIS may not load

APPLIES TO
  • Microsoft Internet Information Server 1.0
  • Microsoft Internet Information Server 2.0
  • Microsoft Internet Information Server 3.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Services 6.0
Keywords: 
kbhowto kbusage KB150312
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support