8
Thank you for the many replies. And I am learning while I read each one. I hope others may use this information because security and having a relative path makes sense and everyone has a "Uploads" folder if you are using Xoops.
I am using the newbb_fileup module and want to protect both the "uploads" and the "thumb" folders. I re-installed XOOPS so that my URL path would be cleaner and now all my "scr" tags pointing to the "Uploads" folder are pointing incorrectly. The placing the Uploads folder above the "public_html" folder has 2 benefits, you are better protected and the path is always stays relative.
Because "Uploads" is a system wide folder - I would have to modify each mod that uses the "Uploads" folder? This - what would be nice to have, can turn out to be quite a job to do.
Quote:
f you are wanting to protect the uploads folder for use with a downloads module, then i would highly recommend wf-downloads 3.1 RC2 available at SmartFactory, not only does it allow you to store the files outside the web root, but it also adds another level of protection by adding a unique key to each uploaded file,
This sounds great but what about other modules that need to point to the Uploads folder - how do they know where the new location that "wf-downloads has placed it?
Any Ideas for global use?
g.