I have some pages ( live stream ) which i use in iframe in other place, example : subdomain.mydomain. com/original.php www.mydomain .com/iframe.html Some people where using iframe too so i restricted for external domains using htaccess
RewriteEngine on
RewriteRule %{HTTP_REFERER} - [R,NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !mydomain [NC]
RewriteRule \.* image url [R,NC]
the problem that there still some people are using the direct access to my content from their computers! so is there any idea to prevent them from using my original pages only if they were acceeding from the pages where i made the iframe ? log file