Microsoft Internet Security and Acceleration Server 2004 SDK |
The IFWXIpFilter interface is the application filter interface that represents an IP filter, which is a range of IP addresses for which a connection or socket is allowed to function. Use this interface to ensure that secondary and emulated connections are secure.
The IFWXIpFilter interface inherits the methods of the standard COM interface IUnknown.
In addition, IFWXIpFilter defines the following methods.
Method | Description |
---|---|
IncludeRange | Includes a range of IP addresses in the IP filter. |
ExcludeRange | Excludes a range of IP addresses from the IP filter. |
IncludeFilter | Includes in the IP filter a range of IP addresses represented by an existing IP filter. |
ExcludeFilter | Excludes from the IP filter a range of IP addresses represented by an existing IP filter. |
IsIncluded | Checks if a particular IP address is included in the ranges of those allowed by the IP filter. |
Compare | Compares the IP ranges of two IP filters. |
Clone | Returns a copy of an IP filter. The copy will contain the same ranges of IP addresses as the original. |
There are situations in which an application filter is responsible for limiting what IP addresses are allowed access, including:
For security purposes, the application filter has to define an IP filter, which is a range of IP addresses for which a particular connection or socket is allowed. The IFWXIpFilter interface is where you define that range of IP addresses.
Note If you set the range of IP addresses equal to NULL, you are allowing all addresses to connect.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wspfwext.idl.
Filter Interfaces, IFWXConnection, IFWXFirewall::CreateIpFilter, IFWXNetworkSocket, IFWXSession