2.5k views
4 votes
HTTP Strict Transport Security (HSTS) forces browsers to connect using HTTPS only, mitigating what? a) Cross-site scripting (XSS) attacks b) Man-in-the-middle (MitM) attacks c) Phishing attacks d) SQL injection attacks

1 Answer

5 votes

HTTP Strict Transport Security (HSTS) forces browsers to connect using HTTPS only, mitigating:

b) Man-in-the-middle (MitM) attacks

HSTS helps prevent attackers from intercepting and tampering with the communication between the user's browser and the web server by ensuring that the connection is always encrypted via HTTPS.

User Kaushik Gandhi
by
7.7k points