The Doujinshi & Manga Lexicon Forum
LOGO
The Doujinshi & Manga Lexicon Forum > Improvments > Suggestion: check referrer before serving image files <BACK> <1> <NEXT><Reply> <New topic>
POSTERPOST

AnimeJanai
KI: 89

Could you check the referrer tag before serving up an image file? This would stop sites from hotlinking to you either directly or using a javascript image loader. An example of a thread on a site that hotlinks to your image files is:

http://bbs4.2djgame.net/archiver/?tid-297097.html

The site works differently for registered users, so if the thread appears odd or incomplete to you, it is because you are not a registered user. But you should be able to see that they use hotlink to your image files and steal your bandwidth.
2011-02-20 14:22:47<Quote> <Edit>

MugiMugi
Administrator

KI: 1108

Hmmm that is wierd, there is an referer check in place hmmm what the heck happened to that one, gotta check if something broke when updated nginx a while ago.
2011-02-20 16:49:34<Quote> <Edit>
MugiMugi
Administrator

KI: 1108

Made some changes, hopefully it works now, ( keep in mind that images is cached if you saw them once so viewing the thread in itself won't work well it will after 50 hours ).

But anyhow I hope it solved it.
2011-02-20 16:58:07<Quote> <Edit>
The Doujinshi & Manga Lexicon Forum > Improvments > Suggestion: check referrer before serving image files <BACK> <1> <NEXT><Reply> <New topic>

mugiBB (C) (V0.1)

Page was generated in 0.1213 seconds !