Q
Which HTTP header helps prevent clickjacking?
-
A
X-Frame-Options (or CSP frame-ancestors)
-
B
Content-Type
-
C
Cache-Control
-
D
Accept-Language
Correct Answer:
A. X-Frame-Options (or CSP frame-ancestors)
Explanation:
It stops other sites from embedding your pages in an iframe.