The Password Protect Directories feature in hPanel allows you to set a password to limit access to your website (or parts of it).

You can access this feature by opening Websites → Manage, searching for Password Protect Directories on the left sidebar, and clicking on it:

Once in there, simply select which directory you would like to protect:

Assign a username and a password for it, and click on Protect:

All the password-protected directories will be listed on the same page below, where you will have the option to remove the protection by clicking on the bin icon:

That’s it! Now you know how to password-protect your website or a part of it 😊

NOTE:

  • In case of forgotten password, just remove the password protection on the directory and create it again

Additional resources:

Did this answer your question?