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.
A version of this page is also available for
4/8/2010

Privacy settings for the Internet zone can be changed from the Privacytab in the Internet Optionsdialog box. The implementation uses the Privacy Functionsto perform the following tasks:

  • Change the privacy level

    Use the PrivacySetZonePreferenceWfunction to change the privacy levels in Internet Explorer. Pass the appropriate template identifiers in the dwTemplateparameter. For more information about PrivacyTemplates flags to specify, see Privacy Flags.

  • Apply advanced settings

    Use PrivacySetZonePreferenceWto apply advanced settings. Pass PRIVACY_TEMPLATE_ADVANCED as the template identifier in dwTemplateand specify the template to use in the pszPreferenceparameter depending on the option selected in the Privacytab of the Internet Optionsdialog box in your browser. The following table shows the values to pass.

    Values Description

    "IE6-P3PV1/settings: always=a"

    The Acceptradio button is selected in the Privacytab.

    "IE6-P3PV1/settings: always=r"

    The Blockradio button is selected in the Privacytab.

    "IE6-P3PV1/settings: always=p"

    The Promptradio button is selected in the Privacytab.

Note:
The session=ais added to each one of these templates if Always allow session cookiesis enabled in the Privacytab.

See Also