Nginx compareable to lighttpd's mod_secdownload

Hi all,

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.

Thanks for your help,
-Armin

On Wed, Feb 13, 2008 at 05:55:39PM +0100, Armin R. 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

Thanks a lot. This is all I need. Brilliant.