Title: Secure File Downloads

Hi All,

On one of my Tango 2K sites I want to offer files (.zip, .exe, etc.) for download to customers who have purchased them.  As far as the downloading the file is concerned, I'm not really sure how to produce the best solution.

Upon purchasing the product (the file for download), a "Click Here to Download" link should be presented.  Obviously, the link should not just point to the file.  Instead, I would imagine the file should be stored on the server outside the web folder tree, and the link displayed would point at a .taf file (or something) which takes input args to determine which file to retrieve (by id number or something safe) and then output the file instead of outputing a web page. 

Does this sound right?  What else would I need to consider to make this work?  (Content-type headers, etc.)  Has anyone else implemented this sort of thing?  How so?

I'm running on Linux, but any windows examples are fine too.

Thanks much,


Henning Sittler
www.inscriber.com

Reply via email to