|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
A proxy server is used as a barrier to enhance the security between the internal network and the Internet. This protects the internal network from unauthorized access. A proxy server also enhances speed performance since it caches recently used documents. To gain access to a proxy server, the Windows CE–based application needs a proxy authentication scheme.
When a Windows CE–based application tries to use a proxy server that requires authentication, the proxy returns a 407 status code message to the client. In that message, the proxy should include one or more Proxy-Authenticate response headers. These headers include the authentication methods available from the proxy. The Windows CE Internet functions select the first recognized method.
To obtain user name and password from the user the application can use the InternetErrorDlgfunction.
If no proxy user name and password are set, the Windows CE Internet functions attempt to use the user name and password for the server.
Last updated on Friday, April 02, 2004