Web Security · Junior · Question 11 of 75

What does the Strict-Transport-Security (HSTS) header do?

Explanation

With HSTS the browser rewrites http:// to https:// before sending anything, which closes the window for SSL stripping attacks on later visits.

Further reading

Problem with a question

Web Security · Junior · question 11

Test yourself

Take the Web Security · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz