How to setup Hotlink Protection?
To enable hotlink protection for the desired file types, add the following lines in the .htaccess file for your website:
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://domain.com$ [NC] RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
Replace domain.com with your actual domain name.