EN
HTTP - do not let to embed website in iframe
9
points
In this short article, we would like to show you simple configuration that do not let to display your website embedded in frame, iframe, embed and object elements on ther webpages.
Quick solutions (add header to your website response):
X-Frame-Options: DENY
or:
X-Frame-Options: SAMEORIGIN
Where:
DENYdo not lets to built-in website to onwniframetoo.SAMEORIGINlets to built-in website to onwniframeelement, but only if origin for bothh sites will be the same.