HTTP Strict Transport Security (HSTS) is an opt-in security enhancement that is specified by a web application through the use of a special response header. Once a supported browser receives this header that browser will prevent any communications from being sent over HTTP to the specified domain and will instead send all communications over HTTPS. It also prevents HTTPS click through prompts on browsers.
HSTS Is a new technique being used by web applications to force browser interactions to use SSL protocol without the process of redirections.
For Apache powered servers and having .htaccess allow override settings, you can put this line in .htaccess
1 |
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS |
Be First to Comment