I want to add this header to my nginx server
add_header X-Frame-Options "SAMEORIGIN";
However I want people to still be able to use an <iframe>
that refers to my website.
Like youtube provides an embeded url for video, I do the same for a particular part of my website.
is "SAMEORIGIN"
is the right value? or is X-Frame-Options
header is in conflict with the functionality I'm trying to acheive?