IHttpSecurity::OnSecurityProblem method
Notifies the client application about an authentication problem.
Syntax
HRESULT OnSecurityProblem(
[in] DWORD dwProblem
);
Parameters
- dwProblem [in]
-
An unsigned long integer value that contains the authentication problem encountered. This can be one of the following values defined in the WinInet Error Messages.
Return value
Returns one of the following values.
| Return code | Description |
|---|---|
|
The calling application should continue or retry the download. |
|
The calling application should open a dialog box to warn the user. |
|
The calling application should abort the download. |
Remarks
Security Warning: Incorrect implementation of this method can compromise the security of your application. By returning a value of RPC_E_RETRY, users of your application might be exposed to unwanted information disclosure. RPC_E_RETRY should be returned only when the application is running on a known trusted server or after you have verified information from the user. For more information, refer to Security Considerations: URL Monikers.
The IHttpSecurity interface should be implemented by applications that handle any authentication problems, instead of using the default user interface.
Requirements
|
Minimum supported client |
Windows XP |
|---|---|
|
Minimum supported server |
Windows Server 2003 |
|
Product |
Internet Explorer 4.0 |
See also