Best practice for web server user/group permissions

Posted by Poe on Stack Overflow See other posts from Stack Overflow or by Poe
Published on 2010-06-07T23:01:46Z Indexed on 2010/06/08 0:12 UTC
Read the original article Hit count: 216

What's the best practice in a secure manner to setup the user/group and permissions? Here's what we currently have; web server runs as www/www. Fastcgi Php runs as www/www. User's shell/ftp account is username/username.

We want the user to be able to have full access to all files, including those created by the web server 'www' from the shell or ftp. Similarly, we want the scripts run by fastcgi/php to be able to create files in user created directories and modify user created files.

© Stack Overflow or respective owner

Related posts about php

Related posts about web-services