Knowledge Base

How to Set Up Password-Protected Directories in Plesk

How to Set Up Password-Protected Directories in Plesk

  • Access Password-Protected Directories

    ◦ 
    Log in to your Plesk Control Panel.

    ◦ From the left sidebar, go to Websites & Domains.

    ◦ Select your domain and click Password-Protected Directories.



  • Add a New Protected Directory

Click Add Protected Directory.



  • Enter the path (folder location) you want to protect.

  • Click Create to save.

  • Create a User for Access

    ◦ 
    After creating the directory, click on its name.




  • Select Add User.

          ◦ Enter a username and password.

          ◦ Click Create.

 

  • Test the Protection

    ◦ 
    Visit your protected directory in a browser, e.g.: https://yourdomain.com/private-folder/

    ◦ You’ll be prompted to enter the username and password you created.

    ◦ Once entered, you’ll gain access to the protected content.

 

Please rate this article to help us improve our Knowledge Base.

0 0