Following is the procedure of making your Directories as password protected.
Enter to your cPanel and perform a search for your own domain name.
To view, your order details click on your domain name.
Click on Manage Web Hosting Services on the lower toolbar.
Here you will get entry to the Website Management area
Follow this Manage Website >> Directory Protection >> Add Directory Protection
Use the Browse button for the selection of the directory which you want to protect.
Give a Username and Password for the selected Directory and click on submit button.