Introduction

OSHP Logo

OWASP Production

🎯 The OWASP Secure Headers Project (also called OSHP) describes HTTP response headers that your application can use to increase the security of your application. Once set, these HTTP response headers can restrict modern browsers from running into easily preventable vulnerabilities. The OWASP Secure Headers Project intends to raise awareness and use of these headers.

πŸ€” HTTP headers are well known and also despised. Seeking a balance between usability and security, developers implement functionality through the headers that can make applications more versatile or secure. But in practice how are the headers being implemented? What sites follow the best implementation practices? Big companies, small, all or none?

Description

πŸ“š The OWASP Secure Headers Project aim to provide elements about the following aspects regarding HTTP security headers:

  • Guidance about the recommended HTTP security headers that can be leveraged (best practices section).
  • Guidance about the HTTP headers that should be removed (best practices section).
  • Tools to validate an HTTP security header configuration.
  • Code libraries that can be leveraged to configure recommended HTTP security headers (technical resources section).
  • Statistics about usage of the recommended HTTP security headers (statistics section).

πŸ“Ί A presentation of the project is available on the following locations:

Security headers usage statistics

πŸ“ˆ We provide statistics, updated every month, about HTTP response security headers usage mentioned by the OWASP Secure Headers Project:

Security headers usage validator

βœ… We provide a venom tests suite to validate an HTTP security response header configuration against OWASP Secure Headers Project recommendation:

πŸ§ͺ We also provide a online mock endpoint returning an HTTP response, for which, all HTTP response headers recommended by the OSHP will be set:

  • It is automatically deployed on https://oshp-validator-mock.onrender.com
  • Technical details about this endpoint are here.

Security headers reference files

πŸ“– As mentioned in previous sections, we provide the collection of HTTP response security headers to add as well as HTTP response headers to remove, both in table form.

πŸ’‘ Additionally, we provide this information as two JSON files to enable automation in the context of a provisioning workflow:

πŸ“‘ These json files are automatically updated.

Technical references health dashboard

πŸ“ We automatically generate and monitor this dashboard to identify any dead project referenced in the technical resources section.

Discussions, information and roadmap

πŸ’¬ We use the GitHub discussions feature for discussions about the project as well as spreading global information about it.

πŸ‘©β€πŸ’» The work on the OSHP projects and associated components is tracked using the GitHub project feature.

πŸ“– This is documented into the case studies section.

Communication

🌏 We use the hashtag owasp_shp in our posts on Bluesky and LinkedIn, to publish an update about the project.

πŸ“‘ This atom web feed can be used to be notified when an update is pushed on the OSHP website’s repository.

Project leaders

πŸ§‘β€πŸ’» Ricardo Iramar

πŸ§‘β€πŸ’» Dominique Righetto

Contributors

πŸ’Œ Contributors to OSHP, before the migration of the project to GitHub:

πŸ’Œ Visit this page for updated information about the contributors since the migration of the project to GitHub.

Licensing

πŸ“‘ This project content is free to use. It is licensed under the Apache 2.0 License.


"Defense in depth as a credo."