Privacy Reference Documentation

This section contains reference information for the API elements exposed by Microsoft Internet Explorer 6 privacy features.

Enumerations

Topic Contents
InternetCookieState

The following are enumeration values for InternetCookieState

 

Constants

Topic Contents
Privacy Flags

The Privacy Flags are used to give information about cookie operations performed (COOKIEACTION flags) and about the URL that requested the operations (PRIVACY flags). One or more of these flags are set in the pdwFlags parameter by the IEnumPrivacyRecords::Next method. The COOKIEACTION flags are set in the LOWORD(low-order word) while the HIWORD(high-order word) is used to set the PRIVACY flags.

When cookies are set or retrieved through script, the HIWORD of the Privacy Flags is zero.

PrivacyTemplates

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 thePrivacytab inInternet Options.

PrivacyType

Specifies that privacy settings are for either first-party or third-party cookies.

 

Functions

Topic Contents
DoPrivacyDlg

Displays a dialog box showing the privacy status for URLs associated with a web page.

ImportPrivacySettings

Processes and imports an XML file that contains customized privacy preferences.

InternetClearAllPerSiteCookieDecisions

Clears all decisions that are made about cookies on a site-by-site basis.

InternetEnumPerSiteCookieDecision

Retrieves the domains and cookie settings of Web sites that have site-specific cookie regulations.

InternetGetPerSiteCookieDecision

Gets a decision on cookies for a given domain.

InternetSetPerSiteCookieDecision

Sets a decision on cookies for a given domain.

PrivacyGetZonePreferenceW

Gets the privacy settings for a given URLZONE and PrivacyType.

PrivacySetZonePreferenceW

Sets the privacy settings for a given URLZONE and PrivacyType.

 

Events

Topic Contents
PrivacyImpactedStateChange

Fired when an event occurs that impacts privacy, or when a user navigates away from a URL that has impacted privacy.

 

Interfaces

Topic Contents
IEnumPrivacyRecords

Provides methods to access privacy records for URLs visited.

 

XML Elements

Topic Contents
alwaysReplayLegacy

Obsolete. Specifies that legacy cookies are always sent.

firstParty

Obsolete. Specifies a privacy policy for first-party cookies.

flushCookies

Obsolete. Specifies to delete all cookies when importing custom privacy settings.

flushSiteList

Obsolete. Specifies to delete all per-site cookie rules when custom privacy settings are imported.

if

Obsolete. Specifies a cookie action based on a cookie's compact privacy policy.

MSIEPrivacy

Obsolete. Specifies custom privacy settings.

MSIEPrivacySettings

Obsolete. Specifies cookie actions as a function of security zone, Web page context (first-party versus third-party), type (session cookie versus persistent cookie), and the content of a cookie's Platform for Privacy Preferences (P3P) compact policy. It also specifies what to do with existing cookies and privacy settings when loading custom settings.

MSIESiteRules

Obsolete. Specifies cookie actions on a per-site basis.

p3pCookiePolicy

Obsolete.Specifies cookie privacy settings by security zone.

site

Obsolete. Specifies a cookie action for a given domain.

thirdParty

Obsolete. Specifies privacy policy for third-party cookies.