Adding password protection to a directory
When you add password protection to a directory, site visitors are prompted for a username and password when they try to access it. They can only view the directory contents after typing a valid username and password.When you protect a directory with a password, all directories beneath it are automatically protected as well.
- Log in to Plesk.
If you do not know how to log in to your Plesk account, please see this article.
- In the left sidebar, click Websites & Domains.
- Click the site you want to manage, and then on the Dashboard tab, click Password-Protected Directories.
- Click Add Protected Directory.
- Under Settings, in the Directory name text box, type the name of the directory you want to protect.
- In the Title of the protected area text box, you can optionally type a name for the protected directory.
- Click OK.
- Under Protected directories, click the name of the directory you specified in step 5.
- Under Tools, click Add a User.
- Under Protected directory user, in the Username text box, type a name for the user.
- In the New Password and Confirm Password text boxes, type the user’s password.
- Click OK. Password protection is now enabled for the directory.
Removing password protection from a directory
You can remove password protection from a directory if you no longer want to protect it with a password. To do this, follow these steps:- Log in to Plesk.
If you do not know how to log in to your Plesk account, please see this article.
- In the left sidebar, click Websites & Domains.
- Click the site you want to manage, and then on the Dashboard tab, click Password-Protected Directories.
- Locate the directory, and then click Remove Protection.
- On the Removal Confirmation page, select the Confirm removal check box.
- Click OK. Plesk removes password protection for the directory.