How to allow and block access iframe on my website?

skypeleft

Active member
Aug 10, 2019
401
71
28
How to allow and block domain access iframe to my website?

i has tried some method from google but not working for me!.

add to my htaccess:

<IfModule mod_headers.c>
Header set X-Frame-Options ALLOW-FROM https://allowed-domain.com/
Header set X-Frame-Options "SAMEORIGIN"
</IfModule>

Or

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://allowed-domain.com/


anyone can give me some help? thanks
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu