I have recently set up a server on Ubuntu 12.04 . I have an mail server hosted on the same server.
Now, there are a number of users with email id at my domain who can ssh to my server to see the code. I wish to hide the public_html folder of my website with others.
I fear that if I simply change the permission of folder, it won't be accessible on the web also. So, what is the best way of removing access to those folders to the various users ?
Please comment if I am unclear in asking my doubt !