Does Content-Security-Policy
ignore X-Frame-Options
, returned by a server, or is X-Frame-Options
still primary?
Assuming that I ha
The answer was found by testing in practice.
I have created two web-sites and reproduced the described situation.
It seems like X-Frame-Options is primary.
If target server denies framing, then client website cannot display this page in iframe
whichever values of Content-Security-Policy
are set.
However, I haven't found any confirmations in documentation.
Tested on Chrome 54 and IE 11.