How to allow and block access iframe on my website?

  • Welcome to Babiato Forum! All Resources are 100% clean and Safe to Use

skypeleft

Active member
Aug 10, 2019
402
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

  • Babiato Forum - The webmaster 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, updating Daily resource to make sure our community is one of the best.

Quick Navigation

User Menu