Compartilhar via


MSIEPrivacySettings element

Important  This feature has been removed from Windows 10 and only minimally supported on previous versions of Windows. See "P3P is no longer supported" for more info.

 

*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.

Usage

<MSIEPrivacySettings
  formatVersion = "version">
  child elements
</MSIEPrivacySettings>

Attributes

Attribute Type Required Description

formatVersion

version

Yes

Version number of Internet Explorer that these settings apply to.

Child elements

Element

alwaysReplayLegacy

flushCookies

flushSiteList

p3pCookiePolicy

Child element sequence

alwaysReplayLegacyflushCookiesflushSiteListp3pCookiePolicy

Parent elements

Element

MSIEPrivacy

Remarks

Note  For Microsoft Internet Explorer 6, the MSIESiteRules must be set to 6 and not 6.0.

 

Examples

The following example shows the syntax for this element.

<MSIEPrivacySettings formatVersion="6">
<p3pCookiePolicy zone="internet">
<firstParty noPolicyDefault="reject" noRuleDefault="accept" alwaysAllowSession="yes">
      <if expr="TEL" action="reject"/>
      <if expr="FIN,CON" action="forceSession"/>
      <if expr="GOV,PUB" action="forceSession"/>
</firstParty>
<thirdParty noPolicyDefault="accept" noRuleDefault="accept" alwaysAllowSession="yes">
</thirdParty>
</p3pCookiePolicy>
<alwaysReplayLegacy/>
</MSIEPrivacySettings>

Element information

Minimum supported system

Windows XP
Can be empty No