orange08 Posted June 18, 2009 Share Posted June 18, 2009 to prevent bandwidth steal, i have coded RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite.com/.*$ [NC] RewriteRule .(gif|jpg)$ - [F] in my .htaccess. then, i try to link mysite's image from email, but it can be linked successfully... so that's meant my above code take no effect, right? so, how can i debug it? thanks! Link to comment https://forums.phpfreaks.com/topic/162746-prevent-bandwidth-steal/ Share on other sites More sharing options...
trq Posted June 18, 2009 Share Posted June 18, 2009 Accessing your images is exactly the same as using a browser to link to your images. The code you have would prevent people making links like <img src="http://yoursite.com/image.jpg"/> on there sites. Link to comment https://forums.phpfreaks.com/topic/162746-prevent-bandwidth-steal/#findComment-858828 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.