Portal Home > Knowledgebase > Passwords > How do I create a Password Protected Directory?


How do I create a Password Protected Directory?




This article will walk you through the process of creating a Password Protected Directory using the Plesk control panel.


  1. Log in to Plesk

  2. Once logged in, click the ‘Home’ button in the left navigation frame.

  3. Click on the domain name you wish to create a password protected directory for.

  4. Click on the ‘Directories’ button. This will take you to the password protected directories manager.

  5. Add a new directory by clicking the corresponding button (Add New Directory). If you already created a directory on your FTP account, this will cause no harm to any files located in the directory.

  6. Add the directory you wish to password protect in the ‘Directory name’ field. (ie: If the directory accessed via the web is domain.com/password, enter ‘/password’ in the field).

  7. Check the ‘Non-SSL,’ ‘SSL,’ and ‘cgi-bin’ checkboxes to ensure the directory supports all features offered with your account.

  8. The ‘Header Text’ field is the title of the password protected box that will prompt when you access the directory via the web. If you’d like to leave this field blank, it will use the Plesk default text.

  9. Click the ‘OK’ button to create the directory.


After completing the steps above you should have a new directory listed on the Plesk ‘Protected Directory’ page.

You will also need to create a directory user in order to access the directory via the web. The steps below will guide you through the process of creating this user:


  1. After creating the directory in the step above you should already be at the page needed to create the directory user. If you are not on this page, go back to the main ‘Protected Directories’ section and click the specific directory you wish to add a user for.

  2. Click the ‘Add New User’ button.

  3. Choose a database user name and password and press the ‘OK’ button.

  4. You should now have a new password protected directory and accompanying directory user.


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution