Forum Moderators: open
I've implemented the header via PHP as...
header("p3p: policyref=\"w3c/p3p.xml\"");
In my access log is reports the following per attempt to validate the P3P file...
"GET /w3c/p3p.xml HTTP/1.1" 200 1094 "-" "P3P Validator"
"GET /%3E HTTP/1.1" 404 13247 "-" "P3P Validator"
"GET /w3c/p3p.xml HTTP/1.1" 200 1094 "-" "P3P Validator"
Any ideas?
- John
<META xmlns="http://www.w3.org/2002/01/P3Pv1">
<POLICY-REFERENCES>
<POLICY-REF about="http://example.com/w3c/policy.xml#policy">
<INCLUDE>/*</INCLUDE>
<COOKIE-INCLUDE name="*" value="*" domain="*" path="/"/>
</POLICY-REF>
</POLICY-REFERENCES>
</META>
In addition, here is a link to FREE P3P Privacy Policy Generator [pics.enc.or.jp].
I hope this helps.
Milan
PRF (XML)
What should be the public path and file name of this XML file?
<META xmlns="http://www.w3.org/2002/01/P3Pv1">
<POLICY-REFERENCES>
<POLICY-REF about="http://www.example.com/w3c/p3p.xml">
</POLICY-REF>
</POLICY-REFERENCES>
</META>
Compact Policy Information
It looks like header information, what do I do with this? If it's a header then how do I make this in to a PHP header?
P3P: CP="NOI DSP COR CURa ADMa DEVa OUR IND"\r\n\r\n
Compact Policy header information
NOI DSP COR CURa ADMa DEVa OUR IND
P3P Policy (XML)
What should be the public path and file name of this XML file?
<POLICIES xmlns="http://www.w3.org/2002/01/P3Pv1">
<POLICY name="policy1"... this part omitted by poster to comply with WebmasterWorld TOS...
</STATEMENT>
</POLICY>
</POLICIES>
Thanks for your help so far!
- John
P3P Policy
Path : /w3c/
Filename : policy.xml
PHP Header
header('P3P: policyref="/w3c/p3p.xml", CP="NOI DSP COR CURa ADMa DEVa OUR IND"');
The public folder (/w3c/) is the recommended PATH but you can have your own file names for Policy Reference File and P3P Policy.
Milan