The most important thing to keep in mind is that certain file types and folders should be set to particular permissions. Below are some examples:
public_html - 750
Folders - 755
CGI and Perl scripts - 755
.html .php and other Document Types – 644
Incorrect file permissions can cause errors or even worse, allow unauthorized users to hack your site. Once an unauthorized user gains access, they can further alter more of your file permissions to make a site even more vulnerable. In order to change file permissions, follow the steps given below:
1. Login to cPanel.
2. Click on File Manager in Files tab.
3. In File Manager, locate the file you wish to change the permissions for. Next, right click and select Change Permissions from the menu.
4. This will bring up the Change Permissions window where you can adjust the settings as needed by checking the box by each permission you want for each level of access (User, Group and World).
5. Once you are finished editing your file permissions, click the "Change Permissions" button.
Note: Keep in mind that you should only change file permissions if needed. You want to make sure that you aren't allowing more access to your files than is necessary, since that can leave your website vulnerable.
Overview Your DNS cache stores the locations (IP addresses) of web servers that contain web... Read More
Overview The Password Generator feature generates secure passwords, which are difficult for... Read More
1. Login to WHM. 2. Click on List Accounts in Account Information Tab. 3. Now select... Read More
Overview This wizard guides you through the setup of a MySQL® database, user accounts, and user... Read More
Overview You can use this interface to create and manage your website's File Transfer Protocol... Read More