Jump to content

prevent bandwidth steal


orange08

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.