Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
loading
  1. Home
  2. Plesk Control Panel
  3. How to use Plesk to protect directories with a password
Updated on June 21, 2024

Plesk Control Panel

  • Folder icon closed Folder open iconHow to log in and out of Plesk
  • Folder icon closed Folder open iconHow to add new domains and subdomains in Plesk
  • Folder icon closed Folder open iconHow to manage databases and database users in Plesk
  • Folder icon closed Folder open iconGetting started with the Plesk File Manager
  • Folder icon closed Folder open iconHow to manage DNS zones in Plesk
  • Folder icon closed Folder open iconHow to access webmail in Plesk
  • Folder icon closed Folder open iconHow to manage e-mail accounts in Plesk
  • Folder icon closed Folder open iconHow to configure an e-mail forwarder in Plesk
  • Folder icon closed Folder open iconHow to configure an e-mail alias in Plesk
  • Folder icon closed Folder open iconHow to enable auto-reply messages for an e-mail account in Plesk
  • Folder icon closed Folder open iconHow to use the Plesk spam filter
  • Folder icon closed Folder open iconHow to manage e-mail deliverability settings in Plesk
  • Folder icon closed Folder open iconHow to set up Gmail as the e-mail provider in Plesk
  • Folder icon closed Folder open iconGetting started with Plesk
  • Folder icon closed Folder open iconPlesk e-mail features
  • Folder icon closed Folder open iconHow to manage FTP accounts in Plesk
  • Folder icon closed Folder open iconHow to back up and restore sites in Plesk
  • Folder icon closed Folder open iconHow to generate a CSR and install an SSL certificate in Plesk
  • Folder icon closed Folder open iconHow to manage users in Plesk
  • Folder icon closed Folder open iconHow to use Plesk to protect directories with a password
  • Folder icon closed Folder open iconHow to schedule tasks in Plesk
  • Folder icon closed Folder open iconHow to use the WordPress Toolkit in Plesk
  • Folder icon closed Folder open iconHow to generate and renew Let’s Encrypt SSL certificates in Plesk
  • Folder icon closed Folder open iconHow to use Plesk to stage websites
  • Folder icon closed Folder open iconHow to switch PHP versions and settings on Plesk
  • Folder icon closed Folder open iconHow to redirect users to SSL connections in Plesk
  • Folder icon closed Folder open iconHow to use Git with Plesk
  • Folder icon closed Folder open iconHow to view and filter logs in Plesk
  • Folder icon closed Folder open iconHow to remove password protection from the site statistics page
  • Folder icon closed Folder open iconHow to install a self-signed SSL certificate in Plesk
  • Folder icon closed Folder open iconHow to use SSH keys with Plesk
  • Folder icon closed Folder open iconHow to view resource usage information in Plesk
  • Folder icon closed Folder open iconHow to change your Plesk password
  • Folder icon closed Folder open iconHow to manage user roles in Plesk

How to use Plesk to protect directories with a password

Estimated reading: 3 minutes 117 views

This article describes how to use Plesk to protect specific directories with a password. Visitors to password-protected directories must enter a username and password to view the directory’s contents.

Plesk is no longer included with new Hostvento Hosting plans, but it is still available on legacy Managed WordPress accounts. You can install Plesk manually on unmanaged VPS and Dedicated servers.Table of Contents

  • Adding password protection to a directory
  • Removing password protection from a directory
  • More Information

Adding password protection to a directory

When you add password protection to a directory, site visitors are prompted for a username and password when they try to access it. They can only view the directory contents after typing a valid username and password.

When you protect a directory with a password, all directories beneath it are automatically protected as well.

To watch a video that demonstrates the following procedure, please click below:

To add password protection to a directory, follow these steps:

  1. Log in to Plesk.If you do not know how to log in to your Plesk account, please see this article.
  2. In the left sidebar, click Websites & Domains:Plesk - Sidebar - Websites and Domains
  3. Click the Password-Protected Directories icon.
  4. Under Tools, click Add Protected Directory.
  5. Under Settings, in the Directory name text box, type the name of the directory you want to protect.Do not include httpdocs in the directory name. Only type the name of the directory.
  6. In the Title of the protected area text box, you can optionally type a name for the protected directory.
  7. Click OK.
  8. Under Protected directories, click the name of the directory you specified in step 5.
  9. Under Tools, click Add a User.
  10. Under Protected directory user, in the Username text box, type a name for the user.
  11. In the New Password and Confirm Password text boxes, type the user’s password.
  12. Click OK. Password protection is now enabled for the directory.

Removing password protection from a directory

You can remove password protection from a directory if you no longer want to protect it with a password. To do this, follow these steps:

  1. Log in to Plesk.If you do not know how to log in to your Plesk account, please see this article.
  2. Locate the directory for which you want to remove password protection, and then select the check box to the left of the directory name.
  3. Click Remove Protection.
  4. On the Removal Confirmation page, select the Confirm removal check box.
  5. Click OK. Plesk removes password protection for the directory.

More Information

For more information about Plesk, please visit https://www.plesk.com.

Still stuck? How can we help?

How can we help?

Was this page helpful? Yes No

Share this Doc

How to use Plesk to protect directories with a password

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by Hostvento