nginx compareable to lighttpd's mod_secdownload

Armin Roehrl armin at personifi.com
Wed Feb 13 20:16:35 MSK 2008


Thanks a lot. This is all I need. Brilliant.
> 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
>
>
>   






More information about the nginx mailing list