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.
1. Login to your WHM. 2. Click on List Accounts. 3. Navigate to your cPanel and... Read More
1. You Need to Create Database and Its User by following this article click here 2. Now go to... Read More
PhpMyAdmin is an application for MySQL databases management - with it you can create, alter,... Read More
In cPanel you can import and export databases using phpMyAdmin menu which you can find in... Read More
For cPanel 1. Login into cPanel. 2. Click on File Manager. 3. Go to root directory of... Read More