hi, i trying to make to make downloader site, the process was like this:<div>1. user enter the site</div><div>2. paste their link</div><div>3. and the wget or downloader program would download the files every night</div><div>
4. the file saved using the primary key of the database value (number), this one example of the table row:</div><div>reqid: 273</div><div>userid: 5</div><div>reqlink: <a href="http://127.0.0.1/bla.pdf">http://127.0.0.1/bla.pdf</a></div>
<div>reqtime: 2009-12-03 07:22:01</div><div><br></div><div>the file saved on /data/dl/273.data</div><div>how can i protect the download link so people wont able to download directly but must use some link, such as:</div><div>
<a href="http://bla/get/273">http://bla/get/273</a> but this link only activated when people has logged in..</div><div><br></div><div>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&#39;s configuration everytime authenticated people wan&#39;t to download the file, and without load file into server side scripting engine (PHP, etc) because it&#39;s slow when i use server side engine to serve the file..</div>
<div><br></div><div>Thanks for care to read this mail..</div><div><br></div><div>Regards,</div><div>Kiswono<br>GB</div><div><br></div>