No-Encryption-Found/EN/Solution Tips: Unterschied zwischen den Versionen

Aus Siwecos
Wechseln zu: Navigation, Suche
Zeile 9: Zeile 9:
 
'''--snap'''
 
'''--snap'''
  
Here is an example of an .htaccess file which will set the '''HTTP-Security-Header-Scanner''' to green.
+
Here is an example of an .htaccess file which will set the '''Header Scanner''' to green.
 
([[Htaccess|.htaccess example (German only]])
 
([[Htaccess|.htaccess example (German only]])

Version vom 12. März 2019, 10:46 Uhr

max-age=63072000; includeSubdomains; HTTP Strict Transport Security (HSTS) is a web security policy mechanism that is easy to integrate.

--snip

# Activate HTTP Strict Transport Security (HSTS)
# Required: "max-age"
# Optional: "includeSubDomains"
  Header set Strict-Transport-Security "max-age=31556926; includeSubDomains"

--snap

Here is an example of an .htaccess file which will set the Header Scanner to green. (.htaccess example (German only)