nginx compareable to lighttpd's mod_secdownload

Igor Sysoev is at rambler-co.ru
Wed Feb 13 20:06:36 MSK 2008


On Wed, Feb 13, 2008 at 05:55:39PM +0100, Armin Roehrl wrote:

>  Is there something like mod_secdownload for nginx?
> 
> Basically I am streaming flash-videos, but first need todo
> a check whether the user is allowed to see this video.
> 
> I could do this authentication using another application
> that needs to parse the request string and send it off
> to a 3rd party-server to get an OK or false back.
> Authentication per (flash-file, user)-tuple has to happen
> only once.

No, the recommended way is X-Accel-Redirect:
http://wiki.codemongers.com/NginxXSendfile


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list