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

Permissions to allow public_html and nothing else



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I am setting up web access for my users and want to make sure I have the
file permissions correct.

Let's say for user imauser I set up the following:

home directory: /home/imauser
permissions: drwx-----x

web directory: /home/imauser/public_html
permissions: drwxr-xr-x

web files: e.g. /home/imauser/public_html/index.html
permissions: -rwxr--r--

Is this secure to allow access to the web directory and nothing else of the
user's home directory?

Regards,
+-----------------------+---------------------------------+
| Peter Kiem            | E-Mail    : <zordah zordah net> |
| Technical Consultant  | Home Phone: +61 07 3344 5665    |
| Trysoft Aust Pty Ltd  | Mobile    : +61 0418 798 121    |
|                       | WWW       : www.zordah.net      |
|                       | ICQ       : "Zordah" 866661     |
+-----------------------+---------------------------------+
     "Linux, the last service pack you'll ever need."

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQA/AwUBOBuSJ4id0r/+M3MgEQICfwCfbFAs6A9dtzzffLdAd7HhFbiTIR8AnRqo
hotF0JXbojOuwXM8mOCCVxnd
=iOLH
-----END PGP SIGNATURE-----




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