One header closes it
Clickjacking is stopped by telling the browser who may frame you:
Tip: Send
Content-Security-Policy: frame-ancestors 'none'(or a trusted list), andX-Frame-Options: DENYfor older browsers, on every page that performs sensitive actions. Back it up withSameSitecookies so a framed page doesn't carry the victim's session in the first place.