Some newer browsers block our e-commerce site's cookies because we don't have a compact privacy policy. How do we implement one?
Compact privacy policies are part of the World Wide Web Consortium's Platform for Privacy Preference (P3P) specification.
In P3P 1.0, compact policies describe privacy policies for cookies through additional HTTP headers sent to the browser along with the cookies. P3P headers point to the URL of the site's P3P Policy Reference file and deliver the compact privacy policy as a space-delimited string of tokens. Both can be sent in one header. P3P headers should be sent before Set-Cookie headers.
To implement compact policies, you need a P3P Policy file, a P3P Policy Reference file, and the ability to serve P3P headers to browser clients. The Policy and Policy Reference files are machine-readable XML files. See this site for links to P3P Policy Generators.
Methods to add a P3P header before your Set-Cookie headers can vary. The headers should resemble the following:
P3P: policyref="/w3c/p3p.xml"P3P: CP="ALL DSP COR CURa ADMa OUR NOR IND UNI COM NAV INT"
The XML files can reside on a different server. The P3P headers must be sent by the server that sets the cookies.
Read more about software in Network World's Software section.