secure_headers

Manages application of security headers with many safe defaults

MIT License

Stars
3.1K
Committers
98

Bot releases are hidden (Show)

secure_headers - Adds X-Permitted-Cross-Domain-Policies support by default

Published by oreoshake almost 10 years ago

The only change between this and the first pre release is that the X-Permitted-Cross-Domain-Policies support is included.

secure_headers - Deprecate features in preparation for 2.0

Published by oreoshake almost 10 years ago

This removes the forwarder and "experimental" feature. The forwarder wasn't well maintained and created a lot of headaches. Also, it was using an outdated certificate pack for compatibility. That's bad. The experimental feature wasn't really used and it complicated the codebase a lot. It's also a questionably useful API that is very confusing.

secure_headers - 2.0.0.pre - CSP level 2 support

Published by oreoshake almost 10 years ago

This release is intended to be ready for CSP level 2. Mainly, this means there is direct support for hash/nonce of inline content and includes many new directives (which do not inherit from default-src)

secure_headers -

Published by oreoshake about 10 years ago

  • Adds X-Download-Options support
  • Adds support for X-XSS-Protection reporting
  • Defers loading of rails engine for faster boot times
secure_headers - hsts preload confirmation value support

Published by oreoshake about 10 years ago

@agl just made a new option for HSTS representing confirmation that a site wants to be included in a browser's preload list (https://hstspreload.appspot.com).

This just adds a new 'preload' option to the HSTS settings to specify that option.

secure_headers - Add app tagging support

Published by oreoshake about 10 years ago

Tagging Requests

It's often valuable to send extra information in the report uri that is not available in the reports themselves. Namely, "was the policy enforced" and "where did the report come from"

{
  :tag_report_uri => true,
  :enforce => true,
  :app_name => 'twitter',
  :report_uri => 'csp_reports'
}

Results in

report-uri csp_reports?enforce=true&app_name=twitter