Storing images above or below the web root?
Posted
by
JGDev
on Stack Overflow
See other posts from Stack Overflow
or by JGDev
Published on 2011-01-14T19:40:44Z
Indexed on
2011/01/14
19:53 UTC
Read the original article
Hit count: 136
I'm working on a web app where users can upload images which are associated with their account. I'm trying to figure out the best way to store these images in the filesystem taking into account organization and security. I'm using a JavaScript-based file uploader which has to save the images within the web root, but I'm wondering if it would be better to move the images above the web root for better security? Any thoughts on the matter would be appreciated.
© Stack Overflow or respective owner