Sunday, April 17, 2005

Prevent others from browsing your files

In a multiuser server environment, set diretories to these settings to prevent others from browsing your files: (read/write/execute by owner, & only execute by others, no read/write/execute by group)

e.g.
Read Write eXecute

Owner Access On On On
Group Access Off Off Off
Other Access Off Off On

chmod 711 /usr/home/USERNAME/
chmod 701 /usr/www/users/USERNAME/

No comments: