- Log into cPanel
- Go to the Files section and click on the Directory Privacy icon
- Find the directory you want to password protect and then click on the Edit button at the right side of that directory. You will see the Set Permissions screen appear.
- Next, click on the checkbox labeled Password protect this directory. Makes sure you have a name for the folder you are going to protect.
- Click on Save in order to save the name you have entered for the directory and option to password protect the directory.
- Next create a user to access the protected directory
- Click Save in order to save the user that you have edited.