There was a problem loading the comments.

Password Protecting Folders

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
If you would like to restrict access to certain parts of your website, you can do so by password protecting the respective directories through your cPanel control panel section.
The first step is to log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel'.  
Scroll down to the 'Files' section and choose 'Directory Privacy'.
In the direct privacy section, you will see the folders that exist on your account. Choose the folder from the list that you would like to password protect.
Tick the option 'Password protect this directory' and type in an alais name to describe the folder in the 'Enter a name for the protected directory' section.
Choose 'Save' to set up the password protection.
The process will now confirm that the password protection permission was successfully set on the chosen directory. We now need to setup a user who can access the directory. Select 'Go Back' to return to the directory privacy options.
Scroll down to the 'Create User' section. A user now needs to be created with a password who can have access to the folder. Enter your chosen username in the 'Username' section along with the password in 'New Password' and 'Confirm Password'. There is a 'Password Generator' option if you would like the process to automatically create a password for you.
To create the user, select the 'Save' option.
The process will now confirm that the user has been successfully created and confirm back to you what password you chose. It is recommended at this point to write this information down, if required later to access the folder. You can repeat this process again on as many folders as you choose. You can also create multiple users who will have access if required. The process to password protect a folder is now complete.

Share via
Did you find this article useful?  

Related Articles

© Eco Hosting