I just caught a couple bastards ripping off a ton of my galleries .. chewing up a shit-load of bandwidth .. and I'm a little upset about this. But I guess it's to be expected.
I won't stand for this and sit back and pay the bandwidth bills.. if you're trying to rip off all the free porn on my server ... fuck off ... I won't let you do it.
So I'm doing something about it .. and I want to share it with GFY incase it's useful to anyone here.
The tool that these guys were using is called Website eXtractor. Lucikly in this program's case .. it sets the User-Agent: to "Website eXtractor (http://www.asona.org)"
Ima block this program on my server ;) To do this you need mod_access and mod_setenvif.
Crack open your apache configuration file and add the following line:
BrowserMatch "^Website eXtractor" downloader
Now wherever you configure your virtual hosts add the line "deny from env=downloader" so it looks something like this:
I'm using the following page http://www.psychedelix.com/agents.html to search for other downloading tools that set "User-Agent" so I can block them too. If anyone knows any good ones / popular ones post 'em here. And I hope this was useful to some people here.
I won't stand for this and sit back and pay the bandwidth bills.. if you're trying to rip off all the free porn on my server ... fuck off ... I won't let you do it.
So I'm doing something about it .. and I want to share it with GFY incase it's useful to anyone here.
The tool that these guys were using is called Website eXtractor. Lucikly in this program's case .. it sets the User-Agent: to "Website eXtractor (http://www.asona.org)"
Ima block this program on my server ;) To do this you need mod_access and mod_setenvif.
Crack open your apache configuration file and add the following line:
BrowserMatch "^Website eXtractor" downloader
Now wherever you configure your virtual hosts add the line "deny from env=downloader" so it looks something like this:
Code:
<Directory "/foo/myhost.com">
Order allow, deny
allow from all
deny from env=downloader
</Directory>


Comment