So I've just finished getting my ACL's so they don't produce lots of errors in normal everyday use - which probably means they're full of holes lol
I'm running 2 servers:
blackadder is a webserver which hosts the main website and allows multiple users to host their own sites (same as vhosts except I've used mod_userdir instead).
baldrick is a database server which only accepts connections from blackadder. It runs a mysql server.
Both servers have been patched to allow subjects with the CAP_DAC_READ_SEARCH capability complete read/search access regardless of what the filesystem permissions are (ACL's control access only). This allows backups to run as non-root and also apache to read files in the user's home dir even though it doesn't (normally) have access to it. All home dirs are chmod 700.
I've also used iptables to map ports 80 and 443 to 2080 and 1443 which allows the main apache server (static) to run an non-root on startup.
Blackadder's policy file: click here
Baldrick's policy file: click here
Love to hear all your comments and views on this - especially spender