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. To create these password protected directories, follow the steps outlined below.
Login to Plesk Server admin panel. In the left sidebar, click Websites & Domains.
plesk-pass1
Click the Password-Protected Directories icon.
plesk-pass2
Under Tools, click Add Protected Directory.
plesk-pass3
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.
plesk-pass4
Under Protected directories, click the name of the directory you specified in the previous step. Under Tools, click Add a User.
plesk-pass5
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.
plesk-pass6
You can also 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.
Locate the directory for which you want to remove password protection, and then select the checkbox to the left of the directory name.
Click Remove Protection.
On the Removal Confirmation page, select the Confirm removal checkbox.
Click OK.