Let's say I have a server and a bunch of developers working on different sites(php and django) and I don't want the different developers to access each other's sites.
How should I go about implementing such a solution? (some pointers will do)
Let's say I have a server and a bunch of developers working on different sites(php and django) and I don't want the different developers to access each other's sites.
How should I go about implementing such a solution? (some pointers will do)
suPHP does this very well. There is a solution with Apache by using setuid and setgid.
i think, under apache suEXEC will do the job.
You need to chroot your FTP uploads (easy in Proftpd). If it is SCP uploads, you must make SSH directory chrooted (special patches needed).
Antoine is right. You can check this link for setting up a apache-suphp webserver.
http://techtrunch.com/installations/compile-apache-suphp-ubuntu
In suphp configuration the files must be in the ownership of the user, other wise php file requests will end up in Internal Server error.
if you are talking about through just ftp, thats file system permissions that controls that.