Download Queue

Phillip Oldham phill at
Thu Dec 3 12:34:20 MSK 2009

Maybe this will be of help?

Kiswono Prayogo wrote:
> hi, i trying to make to make downloader site, the process was like this:
> 1. user enter the site
> 2. paste their link
> 3. and the wget or downloader program would download the files every night
> 4. the file saved using the primary key of the database value 
> (number), this one example of the table row:
> reqid: 273
> userid: 5
> reqlink:
> reqtime: 2009-12-03 07:22:01
> the file saved on /data/dl/
> how can i protect the download link so people wont able to download 
> directly but must use some link, such as:
> http://bla/get/273 but this link only activated when people has logged 
> in..
> what i mean is, can i make temporary link that can only be accessed 
> certain IP and session (of the logged user), one request only, without 
> messing around and reload nginx's configuration everytime 
> authenticated people wan't to download the file, and without load file 
> into server side scripting engine (PHP, etc) because it's slow when i 
> use server side engine to serve the file..
> Thanks for care to read this mail..
> Regards,
> Kiswono
> GB
> ------------------------------------------------------------------------
> _______________________________________________
> nginx mailing list
> nginx at


*Phillip B Oldham*
phill at <mailto:phill at>



This e-mail and its attachments are intended for the above named 
recipient(s) only and may be confidential. If they have come to you in 
error, please reply to this e-mail and highlight the error. No action 
should be taken regarding content, nor must you copy or show them to anyone.

This e-mail has been created in the knowledge that Internet e-mail is 
not a 100% secure communications medium, and we have taken steps to 
ensure that this e-mail and attachments are free from any virus. We must 
advise that in keeping with good computing practice the recipient should 
ensure they are completely virus free, and that you understand and 
observe the lack of security when e-mailing us.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list