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.

How To Protect Server Files From Hackers

Discussion in 'Security' started by malioxha, Nov 23, 2015.

  1. malioxha

    malioxha Member

    Joined:
    Nov 21, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hello,
    So i have make some chmod's on "ls , find, w ,who etc "
    to protect my website from symlinks
    i have chmod 711 / server directory,
    but i have one problem, how to protect " /etc/named.conf" and " /etc/passwd"
    i have try with chmod command but if i chmod those i will get some errors as i can't open file manager :/
    so any tutorial or suggestions how to protect those files ?!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. malioxha

    malioxha Member

    Joined:
    Nov 21, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    before to Active Symlink race i have upload a symlink on one of my hosts just to test my security and i can use some command like who, ls, grep , cat, etc , for this i have chmod those .
    but now i will try Symlink Race Condition, thank you :)
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page