Hot linking can be disabled by using '.htaccess' file in the folder where the images/videos/files are stored .
It is good practice to disable Hot linking, or else, the 'source' from where the files are Hot linked will have to pay for the bandwidth which he is not using.
You can prevent the hot-linking of your images by creating a .htaccess file with the following content:
Quote:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?your-domain.com/.*$ [NC]
RewriteRule \.(gif|jpeg|png|avi|wmv)$ - [F]
|
Above rule will disable Hotlinking for images and videos
Note: Make sure that the .htaacess file is placed under correct folder of the website. If not, hot linking will get disabled for the complete website.
websud,
Dedicated Support Department