Running a linux server. We want to give many users access to test/play around with php and apache and do things with it. I want to know what the best method would be to:
Prevent users making infinite loops that can crash the server due to ram/cpu usage
Prevent access to subdirectories from php
Same effect with apache
The issue is that I am looking for a plugin (or anything) to do this on a user level rather than a process level (I've seen a bunch of php.ini/.htaccess solutions but they seem to focus on processes rather than uses (like the php's max_execution_time).
Anyone know of any addong/plugins/or other ways to detect and limit the potential for damage done by users on a linux server?