Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Blocking access to cpanel A client request

Discussion in 'General Discussion' started by hostcp3, Jan 10, 2003.

  1. hostcp3

    hostcp3 Well-Known Member

    Jun 18, 2002
    Likes Received:
    Trophy Points:

    I have a client who has a problem with one of his friends hacking his site, he originally allowed his friends access by giving them all subdomains and access to his account, since then we totally deleted and rebuilt his account changing all passwords to very hard passwords, but they still seem to get in, what is the best way to prevent access to his cpanel or his databases in general so that only his ip will have access.

    &&&&&&&is there anywyas you can block all ip except one specific ip to acessp cpanel?? and like don't let any other myphpadmin connect outside beside on server?? just wondering..becuase I have s static ip to there a way you can only allow acess only two ips that I have only??&&&&&&&&&

    Just note:

    we don't allow customer Telnet or SSH access.
    we run Proftp
    we run SuExec
    In bastille I have blocked the ip's he sent me but doesn't seem to stop his friend.

    thanks for any advice.
  2. MikeMc

    MikeMc Well-Known Member

    May 8, 2002
    Likes Received:
    Trophy Points:
    Although it sounds strange that they still get can deny access to all and allow access only to one by using htaccess files.
    Also if you know the ips of the intruders list them in the /etc/hosts.deny and hit a new iptables rule for their ips.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice