Picto thématique

Rule n° 194 - Pages using HTTPS have a strict transport header.

According to Wikipedia, which we refuse to paraphrase here : "HTTP Strict Transport Security (HSTS) is a security policy mechanism proposed for HTTP, allowing a web server to declare to a compatible user agent (such as a web browser) that it must interact with it using a secure connection (such as HTTPS)". In short, this means that your server is configured to communicate with the user only in an encrypted manner. This is therefore an extra level of security compared to using HTTPS. Not only does the server talk in HTTPS, but it refuses to talk in any other way.

#Security #Development


  • Improve exchange security.
  • Preventing the risk of attacks.


Use the HTTP Strict Transport Security header and its max-age parameter on each page to specify that the browser must convert all HTTP requests into HTTPS requests.


Check that for each page the server sends the HTTP Strict Transport Security header with the max-age parameter specifying the duration during which the browser must convert all HTTP requests into HTTPS requests

By Opquast - Read the license

Business application and benefits

The rules should be applied to your projects from the design phase through to post-implementation , and they should be understood by all professionals with web and customer experience (CX) responsibilities: from strategy to operations, marketers to project managers, and editorial to technical staff. The benefits of using this ruleset are numerous, including improving customer satisfaction, web performance, and e-commerce, and expanding your client base, while also decreasing your errors and costs.

Multidisciplinary verticles - accessiiblity, SEO, e-commerce, ecodesign etc..- starting from the foundational Opquast base.

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 11,000 web professionals to have their skills certified. Train your teams or your students, contact us