How to create/edit/delete a file using the File Manager

There may be times when you wish to create/edit/delete a file or folder in your account. you can always use the traditional way through through FTP. If you need to make a change on the fly, you can also use cPanel to modify your files. To modify your files through file manager, please do the following:
1. Click File Manager
2. Click the name of a file. You will see some options show up at the top right of the screen.
3. You have several options, edit, delete , etc.
4. Select the option for which you would like to accomplish

To create a file:

1. Click the create file button at the top of the page.
2. You will see an empty box for which you would need to declair the name of the newly created file
3. In the drop down menu below the name of the file , select the type of file you wish to create.
4. Click the create button

Other options work the same way and are pretty self explanatory. If you have any questions on this, please enter a comment below.
You have just created a new file through file manager.

How to change permissions (chmod) of a file using File Manager

Permissions can be a very important thing when it comes to your hosting account. Some permissions need to be set to allow certain files to write to it. Along with that, some files need to be perfected from writing to it for security. You can change the permissions in many ways. One of the easy and basic ways to change the permissions is through File manager in cPanel. To change the permissions for a file or folder in cpanel, please do the following:

1. Click File Manager
2. Click the name of the ile for which you would like to change the permissions for.
3. Select the Change Permissions link at the top right of the page.
4. Select the permissions you would like to set for the file.
5. Click Change Permissions

You have just changed the permissions for a file using File Manager. Please note, You can also change permissions through FTP and SSH.

How to set up password protected directories

Password protected directories are important if you want only certain people to access certain parts of your website. Creating password protected directories are one way to set this up. This form of password protected directories isn’t the most advanced way to set up password protected directories, but it does the job quick and fast. It does lack some other features that a traditional PHP script would have as well. This option in cPanel actually modifies the .htaccess file to determine the access to these files. To set up a password protected directory, please do the following:

1. Click Password Protected Directories
2. To protect a folder inside another folder, you will need to click the folder to the left of the folder name. If you see the folder for which you would like to password protect already , then click the name of the folder.
3. Click the check box to the left of the text which states,”Directory requires a password to access via the web (you must check this to activate password protection). This will then lock the file.
4. Enter text for which you would like the pop up message to say when someone tries to access this folder/ file. You will enter the information to the right of the text which says,
Protected Resource Name (will display in browser’s password mask):
5. You will now need to add a user to be able to access this file.
Add a user and a password in the fields which are at the bottom.
6. Click Add / Modify
Authorized User

You have now just created a password protected directory and added a user to access it.