If you want to protect your images/video files by getting hotlink and want to prevent your precious bandwidth from being get stolen then you have to use Hotlink protection tool which comes with your control panel. Few webmaster try to steal bandwidth of other by hotlinking to images/media files hosted on other websites this will preserve their bandwidth when some start browsing your media files. Thus to save your previous bandwidth you should protect your media files and image files from getting hotlinked.
As a webmaster you should keep hotlinking feature enable for all files with extensions which are related to images and video files. If your images are linked on site which is having heavy traffic then your allotted bandwidth may endup with this external website hotlinking to your media/images files. Even if your site is not having huge traffic still you can endup with your allotted bandwidth as other sites are eating your bandwidth as websites which are linking to your media/images files will eatup your bandwidth eachtime their visitor access their sites.
You can protect your image media files from getting hotlinked through your website hosting control panel or just updating your .htaccess file using following code.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com(/)?.*$ [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp|wmv)$ http://wwwDOTdomainDOTcom/image.jpg [R,NC]
Note: replace your website with domain.com
Posted under Account Hosting, Dedicated cpanel, cPanel VPS, cpanel account Hosting
This post was written by on August 7, 2008



















