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.

File Protection

Discussion in 'Security' started by anynamewilldo, Mar 5, 2015.

  1. anynamewilldo

    anynamewilldo Registered

    Joined:
    Mar 5, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Kingston upon Hull, United Kin
    cPanel Access Level:
    Root Administrator
    We recently had a user with ftp modify a login file on one of our websites to steal our users passwords.

    Are there any easy ways that I can protect this file from modification using cPanel, WHM or SSH? And vise-versa if I ever need to modify the file.

    The server is CentOS. Thank you! :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,685
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The best way to prevent this type of activity is to ensure unauthorized users are not granted FTP access to the account. Was the FTP password hacked? If so, it's a good idea to pinpoint how the account was hacked and put policies in place to prevent it from happening in the future.

    Thank you.
     
  3. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Exactly what file was modified? A .htpasswd file? A "shadow" file?
     
Loading...

Share This Page