Study. uk . com
  1. Home
  2. All questions
  3. Question 397

CompTIA Security+ study material · question 397 of 611

Which mechanism closes the window opened by a user typing a bare hostname and being redirected from HTTP to HTTPS?

  1. OCSP stapling
  2. HTTP Strict Transport Security
  3. Certificate pinning
  4. A Content Security Policy
Show the answer

Answer: B. HTTP Strict Transport Security

The browser refuses plaintext connections to that host, so there is no initial cleartext request to intercept.

Source: OWASP Transport Layer Security Cheat Sheet (OWASP) — OWASP Transport Layer Security Cheat Sheet › HTTP Strict Transport Security

Challenge yourself on this topic → Study as cards