Print
If you want to limit public access to specific areas of your website, you can secure them with a password using the “Protected Directories” feature. To protect a directory with a password, follow these steps:
1. Go to Websites & Domains > Password-Protected Directories.
2. Click Add Protected Directory.
3. Type in the path to the directory you want to protect (relative to the domain’s document root directory) and, optionally, a title that will be displayed to visitors.
In Plesk for Linux, the specified directory will be created if it does not exist. In Plesk for Windows, you can only secure an existing directory.
4. Click OK.
If you decide to change the directory’s title, follow these steps:
1. Go to Websites & Domains > Password-Protected Directories.
2. Click the desired password-protected directory and then click Directory Settings.
3. Type in the new directory title and click OK.
Before anyone can access the protected directory, you need to add at least one user to it. This user will only have access to this specific directory, and not all of the domain’s protected directories.
To add a user to a password-protected directory, follow these steps:
1. Go to Websites & Domains > Password-Protected Directories.
2. Click the desired password-protected directory, and then click Add a User.
3. Type in the username and password and click OK.
If you decide to change a user’s password, follow these steps:
1. Go to Websites & Domains > Password-Protected Directories.
2. Click the desired password-protected directory and then click the user whose password you want to change.
3. Type in the new password and click OK.
If you decide to remove a user entirely, follow these steps:
1. Go to Websites & Domains > Password-Protected Directories.
2. Click the desired password-protected directory and then select the checkbox corresponding to the user you want to remove.
3. Click Remove.
Remove password protection from a directory, follow these steps:
1. Go to Websites & Domains > Password-Protected Directories.
2. Select the checkbox corresponding to the directory from which you want to remove protection and then click Remove Protection.
Did you find this article useful?
Related Articles