Web Hosting Talk







View Full Version : able to see into everyones folder =\


bizee
11-17-2001, 05:40 AM
whenever one of my clients is in there /www/ folder and they click the .. they will see all of my other clients folders and it will allow them to look inside of the folders but cannot make any changes. Is there a command that will fix this?

T_E_O
11-17-2001, 05:49 AM
This is part of the discussion going on in the thread Protecting PHP source code on a Shared Server (http://www.webhostingtalk.com/showthread.php?s=&threadid=26266)
You might want to have a look at that one.

taz0
11-17-2001, 11:40 AM
If it's not done yet, put all users in the same group, say "users".
Then
chgrp users /www
chmod 705 /www

davidb
11-17-2001, 04:04 PM
If this is for ftp, check the ftp program and look for a chroot option, this will pretty much lock them from going anywhere under.