Protect /home from prying eyes

Head Surfer
October 11th, 2008

By default the permissions on your /home directory are usually set to 755.  This can cause serious problems with script kiddies.  If they find a vulnerable script on your server they can then list all of the users in /home.  By locking down your home folders it makes it a little more difficult for them create a list of all of the users on your server.

To lockdown the accounts we set the permissions to 751 on our home folders.

chmod 751 /home;
chmod 751 /home2;
chmod 751 /home3;

This keeps script kiddies and their prying eyes out of your user’s folders.

How To Host A Website is a Web Hosting Review service. We provide web hosting reviews for best hosting, server hosting, cheap hosting and more as we answer the most important website hosting question - How To Host Website pages successfully.

Words visitors used that found this page online:

Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We are independently owned and the opinions expressed here are our own. Please contact us if you would like your web hosting company considered for a web hosting and support review.
Back to top Copyright 2012 © How To Host A Website, An OS Hosting, LLC Company