You have the ability to password protect a folder within your website using your web hosting control panel (cPanel) by following these steps:
Look for Directory Privacy on the search bar and click on the result.
On the new screen, navigate between folders and sub-folders until you find the folder you wish to password-protect.
Once you find the folder, click on "Edit" at the right side.
This takes you to a configuration panel where you must:
Check the box labeled 'Password protect this directory'
Enter the name of the protected directory (this is just what is displayed to the user when they try to access this directory).
Click Save
β
βThen you will see that you can add a username and password, fill out the fields accordingly and click save:
β
Now you have a password protected folder. You can add as many users you need on it.