News for hackers. Stuff that matters.
Re:How widely used are security-based HTTP response headers? by martinrue on Sunday August 30, 2015 @09:29AM (#10143227)
For people using Node/Express, Helmet is a useful little library that lets you add these security headers and CSP pretty easily: https://github.com/helmetjs/helmet
Re:How widely used are security-based HTTP response headers? by gkop on Sunday August 30, 2015 @01:05PM (#10143837)
This is the counterpart for Ruby: https://github.com/twitter/secureheaders
Re:How widely used are security-based HTTP response headers? by thephyber on Tuesday September 01, 2015 @07:29PM (#10156514)
Lusca[1] is the NPM module for use with Express that comes in the KrakenJS middleware (open sourced by PayPal).

    app.use(lusca.csrf());
    app.use(lusca.csp({ /* ... */}));
    app.use(lusca.xframe('SAMEORIGIN'));
    app.use(lusca.p3p('ABCDEF'));
    app.use(lusca.hsts({ maxAge: 31536000 }));
    app.use(lusca.xssProtection(true));
[1] https://github.com/krakenjs/lusca