Greetings -
I have a page where users upload documents. To keep these documents safe, the files are uploaded to a directory outside the scope of the www directory.
After they have been checked, I want to move them to directories within the www directory so that they can be read when needed. To do this, under my current config, the wwwuser would have to have write persmissions on some of the folders in the www directory.
I would like to try and avoid giving 'anyone' the permission to write to folders within the www directory. Do I have any options? A php book mentioned that it is possible to change the php default user from wwwuser to a more qualified user, but didn't explain the process. I couldn't find any documentation on php.net either (although it's probably there somewhere; I probably just entered the wrong search parameters).
Is changing the php user my only option? Is there a better solution?
Your advice will be greatly appreciated.
Thanks,
Andrew