QuizNot attempted
Match the header
1–4 to choose, Enter to submit
Show answer & explanation
Correct answer:
Content-Security-Policy: frame-ancestors 'none'(or the olderX-Frame-Options: DENY)
frame-ancestors 'none'(or the legacyX-Frame-Options: DENY) tells the browser not to render your page inside any frame, which is what clickjacking needs.- Not nosniff: stops MIME-type guessing.
- Not HSTS: forces HTTPS for future visits.
- Not Referrer-Policy: controls how much of the URL leaks to other sites.
- Headers turn off unsafe browser defaults
- they don't fix bugs.