Privacy Templates

The following are privacy levels that equate to rules for accepting, conditionally accepting, or not accepting cookies. These levels correspond to the privacy preference levels set on the Privacy tab in Internet Options. See Privacy in Internet Explorer 6 for detailed definitions.

PRIVACY_TEMPLATE_NO_COOKIES

0

This is the same as Block All Cookies on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_HIGH

1

This is the same as High on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_MEDIUM_HIGH

2

This is the same as Medium_High on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_MEDIUM

3

This is the same as Medium on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_MEDIUM_LOW

4

This is the same as Low on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_LOW

5

This is the same as Accept All Cookies on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_CUSTOM

100

User-defined. See How to Create a Customized Privacy Import File to understand how to set custom privacy settings.

PRIVACY_TEMPLATE_ADVANCED

101

User-defined. Advanced options are set in the Advanced Privacy Settings dialog reachable from the Privacy tab in Internet Options.

PRIVACY_TEMPLATE_MAX

PRIVACY_TEMPLATE_LOW

Same as PRIVACY_TEMPLATE_LOW.

Remarks

Note

WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Wininet.h

See also

PrivacyGetZonePreferenceW

PrivacySetZonePreferenceW