8 messages in ru.sysoev.nginxRe: Protect link with cookies?
FromSent OnAttachments
Artifex MaximusJun 9, 2009 4:30 am 
Igor SysoevJun 9, 2009 5:22 am 
Artifex MaximusJun 9, 2009 5:48 am 
Artifex MaximusJun 10, 2009 3:15 am 
merlin coreyJun 10, 2009 2:53 pm 
Artifex MaximusJun 11, 2009 3:11 am 
merlin coreyJun 11, 2009 2:57 pm 
Artifex MaximusJun 12, 2009 2:32 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Protect link with cookies?Actions...
From:Igor Sysoev (is@rambler-co.ru)
Date:Jun 9, 2009 5:22:21 am
List:ru.sysoev.nginx

On Tue, Jun 09, 2009 at 01:30:50PM +0200, Artifex Maximus wrote:

Hello!

I am pretty newbie to nginx and having problem on protecting my links. I am using valid_referers but is it possible using cookies for make it stronger?

For example I set cookie uid with nginx's userid in 'location / {}' and check somehow under 'location /download/ {}' for cookie uid. Is it possible or just a dream? Userid was just an idea and not necessary. And any other ideas are welcome as well because cheating referer is easy task.

location /download/ { if ($cooke_NAME = '') { return 403; } }