Authenticate to third-party HTTP proxies using RFC 2617 Basic or Digest authentication.
This feature supports Basic and Digest authentication as described in RFC 2617.
With Basic authentication, passwords are included in HTTP headers in clear text; you can use HTTPS, but the initial connection to the proxy is through HTTP, so this password is clear text. With Digest authentication, headers are not sent in clear text but are hashed.
You must use http_proxy_userid with this option.
For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.
For information about how to set network protocol options with UltraLite, see Network protocol options for UltraLite synchronization streams.
The following example of an embedded SQL or C++ UltraLite application provides a user ID and password for basic authentication to a web proxy.
synch_info.stream = "https"; synch_info.stream_parms = TEXT("http_proxy_userid=user;http_proxy_password=pwd");