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
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