Home > ASP Development > Private download ?

Private download ?



I understand what I want to do, but not sure how code

it. I want to have a download section on my website

for private downloads, the security side is simple user/pass

on mysql database, already in place.



What is the best strategy for making the files private?



- Use a private folder on the server, using an internal redirect

to let the user get the file ?



- Store the files in the database as binary and stream

that to the client ?



Suggestions ?

    
Guest


depends on the size of the file as to wether you put it a db, the norm as i understand it is to store your files in a folder outside of your website structure to stop people directly downloading from the folder.



Smalls.

Was this answer helpful ? Yes No   
Guest


Actually you want to stream the file data to the user, Google Search and search this forum for Download Stream and ADO.Stream

Was this answer helpful ? Yes No   
Guest


You can also setup a private key in the database that links to the file(s). This means that only the users with the key linked to the files would be able to download them.

http://www.google.co.uk/search?hl=e...e+download&meta=

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved