Skip to main content

Please provide more info about EasyApache FileProtect feature

Comments

5 comments

  • vacancy
    Easyapache 3 is a function that is enabled by default. As mentioned, an important function that public_html folders to be not read by other accounts. FileProtect provides better directory security. With 11.58 and Easyapache 4, this function is turned disabled by default. I had to run the /scripts/enablefileprotect command to activate it. With 11.62 this function was turned on by default. It also added a symlink protect function for mod_php and mod_suphp with 11.62, a very nice improvement. (Apache configuration > Global Configuration > Symlink Protect set on )
    0
  • Kent Brockman
    Interesting. But what permissions are exactly being modified?
    0
  • vacancy
    Interesting. But what permissions are exactly being modified?

    There will be no change that affects the running of accounts. disable fileprotect - public_html owner username username enable fileprotect - public_html owner username nobody
    0
  • Kent Brockman
    Thanks. That's what I exactly wanted to know.
    0
  • cPanelMichael
    Hello, File Protect will check the permissions and ownership values on each user account's public_html directory and each addon domain's DocumentRoot directory and then set the values accordingly. It also takes into account the use of Mod_Ruid2, which changes how the ownership value is configured. You can directly view the file that enables the File Protect option if you'd like see how it works in the background:
    cat /usr/local/cpanel/scripts/enablefileprotect
    Thank you.
    0

Please sign in to leave a comment.