[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to restrict developers in /var/www/html directory...??



i would like to restrict developer access to the /var/www/html directory.
I currently have a number of websites in that directory.  They are all
live public_html for their respective webpages.
I have developer A who i want to give access to /var/www/html/a-website.com
I have developer B who i want to give access to /var/www/html/b-website.com
I have developer C who i want to give access to /var/www/html/c-website.com


how can i do this..while having the website functional ???

I have given access to rwx to A and www-data.
by having A in the group www-data.

But i also have B in the same group www-data.


so A can modify B's files and B can modify A';s files.

How can restrict access so this is not an issue ???

But i also need to give www-data access to these files..so they can
serve the web pages to the public.

thanks...
 mjh


Reply to: