How to add a P3P Compact Policy Header to your IIS Web Site
Article ID |
1025 |
Posted Date |
6/24/2004 |
Product(s) |
|
Updated Date |
12/5/2007 |
Some new web browsers will not allow files to be requested from a remote computer. For example, this may cause many common cookie and session management problems with IIS and Ultimate Survey Enterprise survey software. In many cases, this may mean that your site does not have a Platform for Privacy Preferences (P3P) Header.
You may have to add a P3P Compact Policy (CP) so that visitors may properly access your site. Instructions follow for adding a P3P Compact Policy to web sites on servers with Microsoft® Internet Information Services (IIS):
(For more information on P3P Headers, please refer to: http://www.w3.org/P3P or http://www.p3pedit.com)
Microsoft Internet Information Services (IIS)
Sample P3P Compact Policy:
http://www.prezzatech.com/w3c/p3p.xml
To add a P3P Compact Policy:
1. Open IIS on the Web Server (e.g. Start -> Control Panel -> Administrative Tools -> Internet Information Services).
2. Right click the web site you wish to modify and select Properties.
3. On the Web Site Properties dialog, click the HTTP Headers tab (Figure 1).

4. Click the Add button.
5. On the Add Custom HTTP Header dialog, type P3P in the Custom Header Name text box (Figure 2).
6. In the Custom Header Value text box, type CP= "". For information on what compact policy tags you should use on your web site, please see the web site links listed at the top of the page.
e.g. CP="NOI DSP COR NID ADM DEV PSA OUR IND UNI PUR COM NAV INT STA"
7. Click OK on the Add Custom HTTP Header dialog.
8. Click OK on the Web Site Properties dialog.