22 Resources for p3p policy implementation ( 94 )

 

 

It's 2014, yet some Browsers like Internet Explorer and Safari don't deal right with third-party cookies, making our life a hell.
So, for those using frame, frameset and iframe, here is a list of pages which may bring solutions for Django, ASP.NET, C#, PHP, JSP and ColdFusion websites. There is no straight way to get a solution, you'll need to test maybe hours to make p3p running, testing many type of parameters for your header.

There are different ways to tell the browser (IE & Safari) that included page in frame/iframe is using a p3p policy. First method is to tell the header from iframe that has to use a p3p policy thru scripts (php,asp,coldfusion).

 
[php]
header('P3P:CP="NOI DSP COR NID CUR ADM DEV OUR BUS"');
[/php]

Second method is to define this policy in htaccess mod_headers directive.
 
[IfModule mod_headers.c]
Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"NOI DSP COR NID CUR ADM DEV OUR BUS\""
[/IfModule] 

The third method is to write in html page (head)
 
/*
<meta http-equiv="P3P" content='CP="NOI DSP COR NID CUR ADM DEV OUR BUS"'>
.....
<link rel="P3Pv1" href="/w3c/p3p.xml" />
*/

P3P specification http://www.p3pwriter.com/LRN_111.asp --------------------------------------------------- How To Set Third-Party Cookies With Iframe? ( ASP.Net PHP JSP ColdFusion ) http://viralpatel.net/blogs/how-to-set-third-party-cookies-with-iframe/ Craft a P3P policy to make IE behave ( COLDFUSION JSP PERL HTACCESS PHP ASP ) http://www.techrepublic.com/blog/software-engineer/craft-a-p3p-policy-to-make-ie-behave/
IE Blocking iFrame Cookies ( Django ASP.NET PHP JSP ) http://adamyoung.net/IE-Blocking-iFrame-Cookies
Cookie Issues With Frameset and IE6 ( ASP, PHP) http://www.newcircleconsulting.com/2008/06/3rd-party-cookie-issues-with-frameset-and-ie6/
P3P INTERNET EXPLORER (IE) HEADER WAHNSINN ( PHP ASP.Net JSP ) http://q48.de/964-p3p-internet-explorer-ie-header-wahnsinn
Cookies von Iframes im Internet Explorer ( PHP ASP.NET Django ) http://www.tutorialwelt.de/174/cookies-von-iframes-im-internet-explorer.htm
IE Blocking iFrame Cookies ( PHP ASP.NET Django JSP ) http://www.jonmoore.co.uk/html-and-css/ie-blocking-iframe-cookies
IE Blocking IFrame Cookies ( PHP ASP.NET Django JSP ) http://www.codeproject.com/Articles/210570/IE-Blocking-IFrame-Cookies
INTERNET EXPLORER ( PHP ASP.NET (C#) Django JSP Rails ) http://www.karalamalar.net/internet-explorer-iframe-cerezlerini-cookie-neden-engelliyor/ How to set third-party cookies with iframe? ( ASP.Net PHP JSP ColdFusion ) http://ashokrdhaduk.wordpress.com/2014/01/13/how-to-set-third-party-cookies-with-iframe/
IE blocking cookies in frames ( PHP ASP.NET Django JSP ) http://blog.adin.pro/2012-10-23/ie-blocking-cookies-in-frames/ How to set third-party cookies with iframe ( ASP.NET PHP JSP COLDFUSION) http://keyurmehta.wordpress.com/2012/07/21/how-to-set-third-party-cookies-with-iframe/ --------------------------------------------------- Creating a P3P Compliant Privacy Policy http://www.awardsites.com/tutorials/w3c/p3p_privacy-01.htm
Cookie blocked/not saved in IFRAME in Internet Explorer http://stackroulette.com/stackoverflow/389456/cookie-blocked-not-saved-in-iframe-in-internet-explorer
Iframes and Cookies in Internet Explorer http://blog.koomai.net/post/iframes-and-cookies-in-internet-explorer The importance of P3P and a Compact Privacy Policy http://www.hanselman.com/blog/TheImportanceOfP3PAndACompactPrivacyPolicy.aspx Creating a P3P Compliant Privacy Policy http://www.awardsites.com/tutorials/w3c/p3p_privacy-01.htm
P3P policy definitions: setting cookies in iframes in IE http://www.theblog.ca/p3p-policy-definitions
How to Create and Publish Your Company's P3P Policy http://www.w3.org/P3P/details.html Konfigurieren von IIS für Platform for Privacy Preferences (P3P) verwenden http://support.microsoft.com/kb/324013
Cross-domain cookies/sessions in Safari and all other browsers http://anantgarg.com/2010/02/18/cross-domain-cookies-in-safari/