Yes this can be done through cPanel,
Login to your cPanel
go to the security section,
click on “Password Protect Directories”
click go on the popup
click on the public_html if you want to password protect your entire website, or click on the directory you want to password protect.
check the box that says Password protect this directory
in the text box put a description for the prompt that will come up, example “Test Access Only”
create a username and password in the boxes below and click on Add or modify the authorized user.
You can add multiple users by going through the steps and selecting the same directory and adding a new username and password combo at the bottom of the last step.
- 0 Users Found This Useful
Related Articles
How do I access my control panel (cPanel)?
Your control panel is accessible via any of the following links:...
How do I backup or restore my account?
These features are found in your control panel (cPanel). How do I login to my control...
How do I change my control panel password (cPanel)?
It is recommended that you change your control panel (cPanel) password through the Client Area,...
How do I password protect a directory?
The Password Protect Directory feature allows you to place a password on one of your site's...
How do I use the File Manager?
The File Manager feature allows you to modify the files and contents of files that are part of...