Welcome! Log In Create A New Profile

Advanced

Re: how to secure downloading mp3 or flv files in nginx

June 15, 2009 05:11AM
On Mon, Jun 15, 2009 at 05:05:31PM +0800, Delta Yeh wrote:

> Please refer to secure_link module

No, ngx_http_secure_link has no timestamp information, it's just for
URL validating.

> 2009/6/15 XUFENG <xufengnju@sina.com>
>
> > Hi all,
> >
> > Can nginx achieve this goal?
> >
> > On my php page,I give the url to my mp3 file in this format
> > http://mp3.example.com/a.mp3?key=time()http://mp3.example.com/a.mp3?key=time%28%29
> > then this request will go to nginx,can nginx do something like compare the
> > uri /a.mp3?key=time() with the current time() and if it is 180 seconds
> > ago,403 error will return or it will rewrite to the normal file /a.mp3
> >
> > Thanks in advance.
> > --------------
> > XUFENG
> > 2009-06-15
> >
> >
> >
> >

--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

how to secure downloading mp3 or flv files in nginx

XUFENG June 15, 2009 04:54AM

Re: how to secure downloading mp3 or flv files in nginx

deltay June 15, 2009 05:05AM

Re: how to secure downloading mp3 or flv files in nginx

Igor Sysoev June 15, 2009 05:11AM

Re: how to secure downloading mp3 or flv files in nginx

Thanos Chatziathanassiou June 15, 2009 05:33AM

Re: Re: how to secure downloading mp3 or flv files in nginx

XUFENG June 15, 2009 06:07AM

Re: how to secure downloading mp3 or flv files in nginx

Szymon Kosok June 15, 2009 05:18AM

Re: Re: how to secure downloading mp3 or flv files in nginx

XUFENG June 15, 2009 06:10AM

Re: Re: how to secure downloading mp3 or flv files in nginx

Kon Wilms June 15, 2009 11:23AM

Re: how to secure downloading mp3 or flv files in nginx

Weibin Yao June 15, 2009 05:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready