How Add Password Protected Directory

How Add Password Protected Directory

How Add Password Protected Directory

Step1: In plesk, find which directory is the Document Root directory for the domain at Domains > example.com > Hosting Settings > Document root.

Step2: Go to Website & Domains > example.com > Password-Protected Directories and click Add Protected Directory.

Step3: Specify the directory, located inside Document Root from step 1 ('httpdocs' in this example), that should be secured. In this case, we are restricting an access to the /httpdocs/img folder (example.com/img). Click OK.

Note: Specify "/" to protect the whole website with a password authentication.

Step4: Now, click on the directory name.

Step5: Click Add a User to create a user that will be used to access the password protected directory. Click OK. Add other users if required.

Step6: Open the now protected URL in a web-browser (in this example, example.com/img) and log in using the username and password  .


    • Related Articles

    • Password protected web directory

      Password protected web directory from plesk panel Objective: For restricting access to any directories on your website, you can use the feature from plesk panel. Step 1: Follow the steps to create any password protected web directory 1. Visit the URL ...
    • Zimbra password reset from webmail

      Steps to change zimbra password from webmail Step 1: Login into the Zimbra webmail Step 2: Now click on down-ward triangle > change password Step 3: A password change page will open, now give the current password > give new password > confirm it > ...
    • How to reset the email address password and delete email address in Zimbra

      1. Change Password 2. Delete Email Address Change Password 1. Login to the Zimbra Admin Panel. Type admin credentials to the textbox and click on ‘Sign In’. 2. Search the email address that you want to reset the password. As shown on the figure ...
    • How to add virtual directory from SolidCP

      Steps to follow to add virtual directory in SolidCP Login to SolidCP Once you are logged into SolidCP, click on All Customers link. In the next screen, you will see the list of all created users. If you have not created any user yet, you'll see the ...
    • How to resolve the Password prompt issue of MS Outlook app

      Step 1: Go to Control Panel and open User Accounts Step 2: Select Manage Your Credential Step 3: Select Windows Credentials Step 4: Go through the saved logins and find the ones that have the word Outlook in their name. Then, open each of these and ...