Microsoft Internet Security and Acceleration Server 2000 |
By using the Site and Content Rules, this method checks the permission of the session user to access a specified host.
HRESULT HostAccessCheck( LPHOSTENT Hostent, LPCSTR pszPath, LPCSTR pszMime, DWORD dwFlags );
Value | Description |
---|---|
FWX_FLAG_FWX_FLAG_USE_MIME | The pszMime parameter is currently NULL, but may be known later. If this flag is specified, and the pszMime parameter is NULL and the MIME type is required for processing of the rules, FWX_E_MIME_NEEDED will be returned. |
FWX_FLAG_USE_EXTENTION | Use the extension of the pszPath parameters for content filtering. |
The hostent structure may contain names or addresses, or both names and addresses. Access is checked based on the information available in the hostent structure.