Php’s open_basedir protection prevents users from opening files outside of their home directory with php scripts. You can use this function to select which accounts cannot open files outside of their home directory when using php scripts.
This is an important security feature as it will prevent users from being able to access system or other users files with php scripts. It will most importantly stop malicious scripts from being able to access a lot of important information.
- To access the Server Setup Menu, click on Server Setup, on the main screen of your WebHost Manager interface. Then, click on Tweak Security.
- Click on Configure in the Php’s open_basedir section.
- Click on the check box next to Enable php open_basedir Protection to enable Enable php open_basedir Protection.
- Click on a check box next to a domain’s name to allow them to open files outside of their home directory with php, if necessary.
- Click on Save.