Password Protecting Folders

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](https://hostpresto.com/help/article/1)'. ![alt text](https://i.imgur.com/QRmld56.png "Password protecting 1") * * * Scroll down to the '**Files**' section and choose '**Directory Privacy**'. ![alt text](https://i.imgur.com/18zV6C6.png "Password protecting 2") * * * 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. ![alt text](https://i.imgur.com/lui2F30.png "Password protecting 3") * * * 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. ![alt text](https://i.imgur.com/4tarwQY.png "Password protecting 4") * * * Choose '**Save**' to set up the password protection. ![alt text](https://i.imgur.com/rE70raT.png "Password protecting 5") *** 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. ![alt text](https://i.imgur.com/yJBWnGq.png "Password protecting 6") *** 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. ![alt text](https://i.imgur.com/Ga5Zbjm.png "Password protecting 7") *** To create the user, select the '**Save**' option. ![alt text](https://i.imgur.com/iKbfEt4.png "Password protecting 8") * * * 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. ***
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to log into cPanel

There are two different methods to log into your cPanel control panel in order to manage every...

What's the difference between Aliases, Addon and Subdomains?

### Aliases An Alias domain does not have a unique website. It is a domain that is masked to...

Creating a MySql Database

If your website uses PHP or you need to hold a collection of records which need to be accessed...

Importing a MySql Database

You can import a MySQL database via phpMyAdmin which is available in the cPanel control panel....

Exporting a MySql Database

You can export a MySQL database via phpMyAdmin, available in cPanel, if you want to keep a backup...