How to save uploaded files
Posted: Sat Sep 13, 2008 11:23 am
I am writing an application that not only generate files but also alllow to upload files.
I usually create a folder outside the webroot and stream the files. BUT, is it the same
if I use a folder web accessible but password protected??
What about security risk between the two choices?
/system/htdocs/mysite/uploads([password protected)
vs
/system/uploads
Thank you
I usually create a folder outside the webroot and stream the files. BUT, is it the same
if I use a folder web accessible but password protected??
What about security risk between the two choices?
/system/htdocs/mysite/uploads([password protected)
vs
/system/uploads
Thank you