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.

Stopping file alterations

Discussion in 'Security' started by Trax2k, Sep 16, 2015.

  1. Trax2k

    Trax2k Registered

    Joined:
    Sep 16, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,

    Is it possible to globally stop users from making changes to certain files? For example, all my user files are automatically installed so every user uses the same script, so if wanted to stop all users from editing or making changes to the "header.php" file, could this be achieved ?

    Also, how would i completely disable file uploads to the server through a script such as a file sharing script?

    Cheers
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. Trax2k

    Trax2k Registered

    Joined:
    Sep 16, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Okay thanks :)

    And i'm aware of this, i meant through a script :) Users don't have access to cPanel.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can modify the "file_uploads" attribute in your /usr/local/lib/php.ini file or in the individual php.ini file for the account if you are using suPHP.

    Thank you.
     
  5. Trax2k

    Trax2k Registered

    Joined:
    Sep 16, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Is the no way to day this automatically every time a new account is created?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page