[...] I've never used PHP with suPHP, maybe thats why?
Exactly.
If you seek better security, you should configure Apache to run every PHP process as the user that owns the page (and any other file/directory under the user's public- and private_html directories).
This can be done in many ways (suPHP, PHP as CGI+suexec, FastCGI+suexec, MPM-peruser, MPM-itk ...). For users that don't want to bother configuring manually of course DA/custombuild can install and configure automatically suPHP, which will solve the problem.
When this is done, be sure to revert any 777 directory to 755.
Do not attempt to set 700 because Apache still needs to search for ".htaccess" in every directory with the "nobody/apache/www-data" user access; the smallest and more secure mask for directories is 711 (user can do anything, group and others can know if a file exists but not list the content).
If you really are concerned by security, you can chmod 711 any directory (not files!) inside the user's public- and private_html directories... but this is far beyond the topic of this thread, and much more can/should be done if you really, really need high security.
I'm not saying anything new. All I said in this thread can be very easily found through Google, like I stated in my first post. Learn how to search, and you will discover an incredible amount of tutorials on how to secure systems without even bothering to understand what you are doing (not that this is the best method, but of course the fastest).
@floyd: there are already too many HOWTOs out there, there is no point on writing another one or to copy/paste.
I'll stop here. If anyone seeks my help I'll be glad to help professionally, look in my profile for contact info.
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)