The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

security questions

Discussion in 'Security' started by annualhost, Nov 27, 2002.

  1. annualhost

    annualhost Member

    Joined:
    Nov 22, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    There is a lot of back and forth about certain security procedures, what I am trying to find out is, what's the bottom line...

    I have suexec and php in safe mode, should I have openbasedir = ~ if so, where does it go?

    Is that better than safe mode?

    Can safe mode be disabled for some sites while being turned on globaly accross the box?

    I used to have an Ensim server, in that environment users were jailed to their directory they could browse beyond those confines, how can that be acheived with cPanel?

    I also noticed that by default anyone can browse to a folder without an index file and see the whole tree...

    I know there is something that can be set that will give an error message instead of the directroy tree, but what that is I don't know.

    I would appreciate any assistance that can be given ...

    Nathan
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    For the directory access error,

    Follow ITF's example from http://forums.cpanel.net/read.php?TID=5837

    He suggests using the following

    create an .htaccess file and append this line to it:

    Options -indexes

    If you put this in /home it will effect all subdiretories.
     
  3. annualhost

    annualhost Member

    Joined:
    Nov 22, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cool that works well!!!

    I added that to my skel to it gets created automaticly with all new site ;)
     
Loading...

Share This Page