How to prevent opening your site inside iframe of another domain (X-Frame-Options)
3 November 2022
<system.webServer>
…
<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="SAMEORIGIN" />
</customHeaders>
</httpProtocol>
…
</system.webServer>
You can also disable embeding from any source with X-Frame-Options: DENY