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.

use htaccess to protect cpanel login page on shared hosting?

Discussion in 'General Discussion' started by avalanch, Jun 30, 2011.

  1. avalanch

    avalanch Registered

    Jun 30, 2011
    Likes Received:
    Trophy Points:
    Question... if it's possible, how can we set a .htpasswd + the required .htaccess file to trigger when someone attempts to access the cpanel?

    I am being hosted right now at hostgator shared hosting and they use cpanel. As far as I know, no one has tried to access my cpanel yet. I would like to know however if it is possible at all to protect the cpanel login page via htaccess/htpasswd files or to implement a login strikes system of any kind to the cpanel.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    The security options available for cPanel login attempts are controlled by your web hosting provider. Some web hosting providers do utilize cPHulk to help protect against brute force attacks.

    You can see a full list of the security options that are recommended to web hosting providers who utilize cPanel/WHM:

    Recommended Security Settings Checklists

    Thank you.

Share This Page