|
I'm not familiar with CPanel Hot Link protection yet. but it can be easily to do in .htaccess. here's an example:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png|swf|flv|mp4|mp3)$
[NC]
RewriteCond %{HTTP_REFERER} !^https?://([^.]+\.)?mydomain.com [NC]
RewriteCond %{HTTP_REFERER} !^https?://([^.]+\.)?google\. [NC]
RewriteCond %{HTTP_REFERER} !^https?://([^.]+\.)?yahoo\. [NC]
RewriteCond %{HTTP_REFERER} !^https?://([^.]+\.)?bing\. [NC]
RewriteRule \.(gif|jpe?g?|png|swf|flv|mp4|mp3)$ - [F,L]
|