Page tree
Skip to end of metadata
Go to start of metadata

For cPanel & WHM version 11.52

(Home >> Security >> Password Protect Directories)

Overview

This feature allows you to protect certain directories of your account. If you enable this feature, the system prompts users for a username and password when they attempt to view content in a protected folder.

Configure a password for a directory 

To password protect a directory, perform the following steps:

  1. Select the directory that you wish to protect.

    • Click the appropriate folder icon () to navigate to a different folder.

    • Click the desired folder's name to select it.

      Note:

      A protected directory's subdirectories inherit their parent directory's password protection.

  2. Select the Password protect this directory checkbox.
  3. Enter a display label for the directory in the Name the protected directory text box.

    Note:

    This name is only a label for the directory, and you should not confuse it with the directory's actual name.

  4. Click Save.

After you complete this process, you must create a user that can access this directory.

Create a user

To create an authorized user for the directory, perform the following steps:

  1. Enter the desired username in the Username text box.
  2. Enter and confirm the new password in the appropriate text boxes.

    Notes:

    • The system grades the password that you enter on a scale of 100 points. 0 indicates a weak password, while 100 indicates a very secure password.
    • Some web hosts require a minimum password strength. A green password Strength meter indicates that the password is equal to or greater than the required password strength.
    • Click Password Generator to generate a strong password. For more information, read our Password Generator documentation.
  3. Click Add Or Modify The Authorized User.

Note:

To change the authorized user's password, enter the user's information again in the Create User section of the interface, but enter a different password for the user.

Remove password protection

To remove password protection from the directory, deselect the Password protect this directory checkbox in the Security Settings section of the interface and click Save.

 

  • No labels