Storing File Uploads Above the Webroot
Nicolas Bottari wrote up a how-to on developing a way to have file uploads stored above the webroot. At first I thought “Why on earth would someone want to do that?” Then I started thinking there might be occasion when you would want people uploading something somewhat private that you never want to be able to be downloaded via the web browser. That would be clever.
He uses Solspace’s Freeform Module to pull it off, but he goes on to say that’s not the only way to pull this off. I recommend reading this and putting it in your toolbox of tricks for when this need arises. Great stuff!
Share on Twitter