You are here: Re: [PHP] Referer checking is able to be referer spoofed « PHP « IT news, forums, messages
Re: [PHP] Referer checking is able to be referer spoofed

Posted by Dotan Cohen on 03/20/05 01:01

On Sun, 20 Mar 2005 09:38:29 +1100, dan rossi <daniel@electroteque.org> wrote:
> >
> > Hmm its the exact setup with how the video filenames are generated in
> > the player to prevent hotlinking. I guess I am on my own, my client
> > has very paranoid customers as they have to pay for the bandwidth.
> > Lets see how I go. But theoretically we must assume these people dont
> > have php.
>
> It looks like we may go with a tokenizer url system, but it means the
> customers will need php oh well.
>

On the referring site have an image that is hosted on YOUR domain. Set
a cookie when the user's browser requests the image. Even a 1x1 gif in the
corner will do: you just need it to come from your domain. Then
validate against that cookie.

Dotan Cohen

http://Liriks-Song.com/
http://Song-Lirics.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация