Forums

uploads folder security

vistech 07 Feb, 2012
How do I control security of uploaded documents? I'd like to restrict who can view or access the files in the /uploads/ folder but the form still needs to function normally.
GreyHead 07 Feb, 2012
Hi vistech,

If you can, choose an upload folder that is outside the domain. That is the most secure solution. Depends on your hosting setup if you can do that though.

Bob
vistech 22 Feb, 2012
I have tried this without success. I adjusted the open_basedir setting to allow /var/www/vhosts/domain.com/private/uploads/ and changed the file uploads folder to the same location. I checked permissions and ownership of the folder and phpinfo() to be sure open_basedir was set correctly. Ideas?
GreyHead 23 Feb, 2012
Hi vistech,

Only to use the Debugger and server logs to see what is actually happening. There will probably be an error message somewhere.


Bob
vistech 23 Feb, 2012
Chronoforms debugger didn't show any errors. What am I looking for in the server logs?
GreyHead 23 Feb, 2012
Ho vistech,.

Clues about why the upload isn't working the way you want it to.

Bob
This topic is locked and no more replies can be posted.