Check of HSTS protection
If the result is positive, there is no need for further action. If the result is negative, please read the following instructions.
|Result positive||Your website can only be reached via the secure HTTPS protocol. Communication between your website and its visitors can not be intercepted or manipulated.|
|Result negativ||HSTS protection error|
|Description||HTTP Strict Transport Security (HSTS) ensures that the website can only be accessed via a secure HTTPS connection for a specified time period. The website operator can define the length of the time period, and whether this rule should also apply to subdomains.|
|Background||HTTP Strict Transport Security (HSTS) protection is inactive, the communication between your website and its visitors can be intercepted and manipulated.|
|Consequence||Currently, your website is not protected against using an outdated SSL/TLS standard (protocol downgrade attacks) and against cookie hijacking. This allows an attacker to intercept and manipulate your user's communication. Using this information, an attacker could launch further attacks or spam your users with unwanted advertisements and malicious code. HTTP Strict Transport Security (HSTS) is an excellent feature to strengthen your site and its implementation of TLS by forcing the user agent to use HTTPS.|
|Solution/Tips||If the connection to your page is not encrypted, all communication between your site and its users can be intercepted and manipulated.
max-age=63072000; includeSubdomains; HTTP Strict Transport Security (HSTS) is a web security policy mechanism that is easy to integrate.
# Activate HTTP Strict Transport Security (HSTS) # Required: "max-age"# Optional: "includeSubDomains"
Header set Strict-Transport-Security "max-age=31556926; includeSubDomains"
Here is an example of an .htaccess file which will set the Header Scanner to green. (.htaccess example)