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 a privacy policy for first-party cookies.
Usage
<firstParty
noPolicyDefault = "character_string"
noRuleDefault = "character_string"
alwaysAllowSession = "character_string">
child elements
</firstParty>
Attributes
Attribute | Type | Required | Description |
---|---|---|---|
alwaysAllowSession |
character_string |
Yes |
Cookie action when there is no policy present. (yes) Always allow session cookie. (no) Do not allow session cookie. |
noPolicyDefault |
character_string |
Yes |
Cookie action when there is no policy present. (accept) Accept cookie. (prompt) Prompt user to accept or deny cookie. (forceFirstParty) Leash cookies so they are only sent in first-party context. (forceSession) Convert a persistent cookie to a session cookie cookie. (reject) Reject cookie. |
noRuleDefault |
character_string |
Yes |
Cookie action when there is no rule present. (accept) Accept cookie. (prompt) Prompt user to accept or deny cookie. (forceFirstParty) Leash cookies so they are only sent in first-party context. (forceSession) Convert a persistent cookie to a session cookie. (reject) Reject cookie. |
Child elements
Element |
---|
Child element sequence
if
Parent elements
Element |
---|
Examples
The following example shows the syntax for this element.
<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>
Element information
Minimum supported system |
Windows XP |
Can be empty | No |