Which TWO of the following are effective mitigations against Clickjacking attacks? (Choose 2)
The `Content-Security-Policy: frame-ancestors 'none'` directive is a modern and highly effective mitigation against clickjacking. This policy explicitly instructs the browser that the resource cannot be embedded within any frame, iframe, object, embed, or applet by any domain, including its own. By preventing the target page from being loaded in a hidden or overlaid frame, it directly thwarts attempts to trick users into performing unintended actions.
Why this answer
X-Frame-Options header and Content-Security-Policy frame-ancestors directive are both effective against clickjacking.