Hi,
I would like to create a folder (well, several folders), which cannot be seen via HTTP, but can be accessed by PHP. This is to facilitate secure file downloads.
Can this be done in a standard shared-server LAMP environment with just CHMOD, or can it be done with .htaccess? Or maybe neither!
At the moment, I have simply got a folder that is outside the htdocs area, but I am expanding the site to use separated areas and it would be much neater if I could have the private folder inside htdocs, but protected by Unix/Apache.
In addition, could the folder creation process be automated in PHP? This would be the holy grail for me!!
Thanks in advance,
Isaac