Updated on Oct 31, 2022
You may discover that password-protecting a folder on your account is sometimes the best course of action. Files that you do not want the public to have access to can benefit from an additional layer of protection in this way. Using the feature in cPanel, password-protecting a directory is a simple process. This post will teach you how to use cPanel to add a password protection and a user on a directory.
This post includes:
You can password protect a folder in the following steps:
Check the Password protect this directory checkbox and set a name for the directory:
Once you are done click Save to apply the change.
A user that will have access to the protected directory should be created. After protecting the directory, click the Back button to get the updated UI showing the user creation fields.
To change the permissions of your directory, you need to:
After completing these steps, you can be sure that the secured directory's URL can only be viewed by using the just set credentials.
We hope you find this article useful. Discover more about FastCloud - the top-rated Hosting Solutions for personal and small business websites in four consecutive years by the HostAdvice Community!