How to use Plesk to protect directories with a password?

Protect Directories in Plesk


Plesk offers a variety of features and options for controlling, managing and securing your websites. The simple configuration in Plesk allows the web hosting provider to easily manage thousands of websites on a single server. Plesk supports different platforms such as Windows and Linux.

Password-Protected Directories:

One security feature that is quite useful in Plesk is the option to protect a specific directory or folder with a password. If visitors try to access the password protected directories, they must enter the username and password to view the directory contents. It is useful to allow only specific people to access a directory or folder on your website. This tutorial describes how to use Plesk to protect specific directories with a password.

Steps to set Password-Protected Directories in Plesk:

Plesk is a user-friendly interface with enhanced security features. Follow the below steps to protect the directories with a password in Plesk.

Step 1: Log in to Plesk control panel.

Login to Plesk

Step 2: In the left sidebar, click the option Websites & Domains.

Go to Websites and Domains
Step 3: Select the domain and navigate to Password-Protected Directories icon.

Click Password Protected Directories icon
Step 4: Click the option Add Protected Directory, enter in the directory name, location and title of the protected directory and click OK.

Click Add Protected Directory

Enter Directory Name
Step 5: Now select the directory and set the user name and password to access the directory after adding the new directory.

Select Directory
Step 6: Click Add New User and enter the username, password and then confirm the password, and click OK.

Click Add user to enter the usernameCreate password to protect directories

Step 7: Now a confirmation message for the successful creation of the user will be displayed. The directory is now secured and when any visitors attempt to access, a password prompt will appear to view the contents of the directory by the user.

Successful message will be displayed

We hope this tutorial will be helpful to set the password protection for the directories in Plesk. For more information, follow us on Twitter and Facebook and For video tutorials, subscribe to our YouTube channel ServerCake India.


Please enter your comment!
Please enter your name here