Trancemission
Technical User
I am looking at creating a simple download script for my site. Currenlt I am looking to use a similar system to sourceforge where you choose your mirror and then goto a page and 5 seconds later your file is sent to you.
The key thing I am looking for is security - my files for download are tracked in a database for downloading. I do not want the files to be stored under the root of my website ie:
/home/USERNAME/FILES_HERE
and webroot is:
/home/USERNAME/www/
so I redirect to a page with a file_id, i check the DB for that file, check user has access and the redirect the user to download the file.
The key is that the end user cannot simply type in the filename in their web browser. I do not want to use .htaccess to control access.
Any help/poiters appreciated.
Trancemission
=============
If it's logical, it'll work!
The key thing I am looking for is security - my files for download are tracked in a database for downloading. I do not want the files to be stored under the root of my website ie:
/home/USERNAME/FILES_HERE
and webroot is:
/home/USERNAME/www/
so I redirect to a page with a file_id, i check the DB for that file, check user has access and the redirect the user to download the file.
The key is that the end user cannot simply type in the filename in their web browser. I do not want to use .htaccess to control access.
Any help/poiters appreciated.
Trancemission
=============
If it's logical, it'll work!