p3p
A node.js package for providing a connect/express middleware that enables P3P with various options.
npm)
Installation (via$ npm install p3p
Usage
Simple Usage (Recommended P3P Settings)
Our recommended settings output: CP="NOI ADM DEV PSAi OUR OTRo STP IND COM NAV DEM"
var express = p3p = app = ; app; app;
Advanced Usage (Custom P3P Settings)
This example would output: CP="NOI CUR PSAi"
var express = p3p = app = ; var p3pConfig = access: 'nonident' purpose: current: true 'individual-analysis': 'opt-in' ; app; app;
The Compact Specification
http://compactprivacypolicy.org/compact_specification.htm