Tag Info

New answers tagged

2

I am assuming Apache and .htaccess. From: https://perishablepress.com/creating-the-ultimate-htaccess-anti-hotlinking-strategy/ RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC] RewriteCond %{HTTP_REFERER} !^https?://([^.]+\.)?domain\. [NC] ...



Top 50 recent answers are included