.htaccess dosyasında aşağıdaki kodları kullanarak belirtilen uzantıları sadece kendi sitende çalışmasına izin verebilirsin.

Alıntı
Options +FollowSymlinks
IndexIgnore *
RewriteEngine On

RewriteCond %{HTTP_REFERER} !^http://***/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://***.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.***.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.***.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|swf|dcr)$ - [F,NC]