nginx-0.7.18

Igor Sysoev is at rambler-co.ru
Tue Oct 21 18:23:40 MSD 2008


On Tue, Oct 21, 2008 at 10:19:37PM +0800, lhmwzy wrote:

> But it should display the content of index.html,not a 404 page.
> So we should use a hash like md5(link/file, secret),not  md5(link, secret)?

The secure link is

/prefix/hash/any/thing/here

hash = md5(any/thing/heresecret)

> 2008/10/21 Igor Sysoev <is at rambler-co.ru>:
> > On Tue, Oct 21, 2008 at 10:08:32PM +0800, lhmwzy wrote:
> >
> >> Sorry,the page should be
> >>
> >> http://www.dydoor.net/dll/1f5239a316bd9ee50d2bce5cfa011ed0/dl/index.html
> >
> > No, page should be
> >
> > http://www.dydoor.net/dll/d66423000cfdc233b5517b582babb46e/dl/index.html
> >
> > as MD5 ("dl/index.htmlsome") = d66423000cfdc233b5517b582babb46e
> >
> > and it seems to work (404).
> >
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> >

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





More information about the nginx mailing list