XFrameOptions.sameorigin()
Set the directive to SAMEORIGIN.
Usage
XFrameOptions.sameorigin()The page can only be displayed if all ancestor frames have the same origin as the page.
Set the directive to SAMEORIGIN.
Usage
The page can only be displayed if all ancestor frames have the same origin as the page.