PLESK 7 > Administering Your Domain

Managing Protected Directories

This feature is active if virtual hosting has been configured for the domain. It creates and provides password-protected access to the directories where the secure documents reside in the virtual domain. It is possible to create directories under either the standard virtual host accessible via http protocol, or if applicable for the given domain, under the SSL virtual host accessible via https protocol.

To access the protected directories management functions, use the Directories icon on the Domain Administration page. The page will open listing all protected directories of this domain:

Each directory name is accompanied by icons, identifying which virtual host type (SSL or non-SSL) the directory resides within: depicts non-SSL; depicts SSL.

NOTE

We strongly recommend that you create and change the protected directories through Plesk and not within the FTP program. Plesk may not recognize manual changes.

Creating a protected directory

Follow these steps to create secure directories for the domain:

  1. Click Add New Directory. This takes you to the Protected Directory Creation page:

  2. Enter the name of the protected directory you wish to create in the Directory name field.

  3. For Directory Location you can choose a non-SSL, SSL secure directory, or both. Use the appropriate checkboxes to select.

  4. Click in the Header Text input box, and enter the header for this directory. When a user tries to access the protected directory, the text in this box displays as the realm they are entering.

  5. Click OK to complete creation. You will be taken to the list of protected directory users:

  6. To add a new user, click the Add New User icon. You are taken to the new directory user creation page:

  7. Specify the user name, password and confirm password.

  8. Click OK to submit. You will return to the Protected Directory Management page. The new user record will appear in the list of users.

  9. To remove existing directory users select the users that you wish to remove using the corresponding checkboxes and click Remove Selected. You will be asked for confirmation prior to deletion of the directory users.

  10. To access a directory user record in order to edit the user password, click on the user name in the list.

  11. Once you have completed everything within your new protected directory, click OK to submit all changes to the system and to return to the Protected Directory page.

NOTE

An SSL protected directory can be created even if SSL support has been disabled for the domain, however this protected directory will be inaccessible until you enable the SSL support.

Editing the protected directory properties

Follow these steps to edit protected directory properties:

  1. On the Protected directories page, click on a title of the directory that you wish to edit. You will be taken to the Protected Directory Management page.

  2. Edit the directory properties by following the same steps outlined above, in the Creating a protected directory section.

  3. Click OK to submit all changes to the system and to return to the Protected Directories page.

Removing a Protected Directory

To remove one or more directories, follow these steps:

  1. Select the checkboxes in the list of protected directories.

  2. Click Remove Selected. The Protected Directory Removal page appears.

  3. Confirm removal, and click OK.

NOTE

Removing a protected directory in Plesk does not delete the directory off the server, it simply removes the protection. Meaning that the directory and its contents will now be reachable via the Internet without the need for login and password.


to top