Date: Sun, 10 Nov 2002 21:21:23 +0100 From: Johannes Angeldorff <johannes@smartnet.se> To: freebsd-questions@FreeBSD.ORG Subject: Permissions & user/group scheme for webserver? Message-ID: <p05111701b9f47039c0a8@[192.168.0.3]>
next in thread | raw e-mail | index | archive | help
Dear FreeBSD:ers! We are converting an old Windows web server to a new FreeBSD 4.6 webserver with apache and PHP. I could really need some help/tips for securing the server for each user... I want users to be able to FTP in their files to their home directories, and I want the web server to be able to read and execute all users' files... But I _don't_ want users to be able to read each others' files (since they may include for example passwords for MySQL databases). And of course, the users should not be able to read other files on the machine, like /etc/master.passwd. Simply: I want users to only FTP in their own directories, and the web server to be able to read it all... Has anyone a good scheme how to set up user and groups - with suitable permissions - for the webserver, FTP and the users' home dirs? Very grateful for all help on this matter! Sincerely, Smartnet Sverige AB Johannes Angeldorff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05111701b9f47039c0a8>