Microsoft Windows CE 3.0  

Registering Authentication Keys

Important:
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.

The INTERNET_OPEN_TYPE_PRECONFIG flag in the InternetOpenfunction looks at the registry values ProxyEnable , ProxyServer , and ProxyOverride . These values are located under the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settingskey.

For authentication schemes other than Basic, a key needs to be added to the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Securitykey. A string value, DLLFile, should contain the name of the DLL that supports the authentication scheme. A DWORDvalue, Flags, should be set with the appropriate value.

The following table shows the possible values for the Flagsvalue.

Flag value Description
PLUGIN_AUTH_FLAGS_UNIQUE_CONTEXT_PER_TCPIP (value=0x01) Each TCP/IP socket contains a different context. Otherwise, a new context is passed for each realm or block URL template.
PLUGIN_AUTH_FLAGS_CAN_HANDLE_UI (value=0x02) This DLL can handle its own user input.
PLUGIN_AUTH_FLAGS_CAN_HANDLE_NO_PASSWD (value=0x04) This DLL might be capable of doing an authentication without prompting the user for a password.
PLUGIN_AUTH_FLAGS_NO_REALM (value=0x08) This DLL does not use a standard HTTP realm string. Any data that appears to be a realm is scheme-specific.
PLUGIN_AUTH_FLAGS_KEEP_ALIVE_NOT_REQUIRED (value=0x10) This DLL does not require a persistent connection for its challenge-response sequence.

For example, to add NTLM authentication, the subkey NTLMwould need to be added to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Securitykey. Under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Security\NTLMkey, the string value, DLLFile, and a DWORDvalue, Flags, would need to be added. DLLFile would need to be set to Winsspi.dll, and Flagswould need to be set to 0x08.



 Last updated on Friday, April 02, 2004

© 2004 Microsoft Corporation. All rights reserved.