Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to prevent iframe for your site by PHP

header("X-Frame-Options: DENY");
header("Content-Security-Policy: frame-ancestors 'none'", false);
Source by www.hacksplaining.com #
 
PREVIOUS NEXT
Tagged: #prevent #iframe #site #PHP
ADD COMMENT
Topic
Name
1+3 =