FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How to prevent hotlinking an image and stealing bandwidth ?





FunDa
I'm not sure it's called hotlinking and I'm not sure if this is the correct section for this, but here goes ...

Sometimes if u try to place an image from one domain into another, a different image comes telling that hotlinking that image and stealing their bandwidth is forbidden.

For example if u place a tag like this
<IMG src="http://www.example.com/image.gif">
on a website www.example2.com
that image does not come but works properly in example.com


Does anyone know how to do that on your website ?
I assume that it is using php or something ...

Does anyone know ?
shamil
FunDa wrote:
I'm not sure it's called hotlinking and I'm not sure if this is the correct section for this, but here goes ...

Sometimes if u try to place an image from one domain into another, a different image comes telling that hotlinking that image and stealing their bandwidth is forbidden.

For example if u place a tag like this
<IMG src="http://www.example.com/image.gif">
on a website www.example2.com
that image does not come but works properly in example.com


Does anyone know how to do that on your website ?
I assume that it is using php or something ...

Does anyone know ?

To save time you should have googled it. It is done by using .htaccess file. Google for prevent hotlinking and u will find a lot of tutorials teaching how to do that. Good luck.
mariohs
http://altlab.com/htaccess_tutorial.html
FunDa
Thanks y'all .. Got it ...
Related topics
image rights
751 Useful Windows XP Files
Why my site and cpanel display Bandwidth Limit Exceeded?
Windows XP Tricks & Tips!!!!
How to avoid people stealing your images?
RapidShare
Wikipedia Image licensing
problam Plz help
creating .htaccess?
Illegal Un-AuthorizedWireless Internet
Post your desktop...
Where;s better way using javascript link or write inside htm
Is mod_rewrite enabled?
Using Neighbor's Wireless Link: Probation
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.