jim.thornton
Verified User
- Joined
- Jan 1, 2008
- Messages
- 334
I've currently got a VPS setup at a provider and the setup is using PHP in FastCGI mode w/ suphp. There are not a lot of user's websites on the server at this time, but they are pretty much all using Joomla. All the files are 644 and the directories are 755. As you know higher privileges than that will fail with a 500 server error.
I'm now installing DA on a new VPS (with a different provider) and this time I am configuring everything myself. What I would like to know is, should I use the same setup I have or should I switch to mod_ruid2.
I'm not familiar with the differences except my understanding is that suphp added security because it required the files to be owned by the user in order to display them. My understandin is that by doing this, they could not run a file in a different location (i.e. /tmp).
I have secured /tmp, /var/tmp with noexec,nosuid,nodev and I have secured /home with nosuid.
Could someone please advise me on this setup. I currently don't have a lot of users in the shared hosting environment, infact, I have none other than accounts that I manage. But, I would like the system setup to be secure so that I can sell shared hosting accounts.
I'm now installing DA on a new VPS (with a different provider) and this time I am configuring everything myself. What I would like to know is, should I use the same setup I have or should I switch to mod_ruid2.
I'm not familiar with the differences except my understanding is that suphp added security because it required the files to be owned by the user in order to display them. My understandin is that by doing this, they could not run a file in a different location (i.e. /tmp).
I have secured /tmp, /var/tmp with noexec,nosuid,nodev and I have secured /home with nosuid.
Could someone please advise me on this setup. I currently don't have a lot of users in the shared hosting environment, infact, I have none other than accounts that I manage. But, I would like the system setup to be secure so that I can sell shared hosting accounts.