WHM/cPanel

cPanel Directory Privacy to protect files and directories with password

cPanel Directory Privacy is a tool provided by cPanel control panel that allow you to protect files or directories with username and password.

How to setup cPanel Directory Privacy password protection

  1. Login to your cPanel control panel using your account credentials.
  2. At cPanel Home dashboard locate Files section and click Directory Privacy icon.

  3. From Directory Privacy Page you can see the list of your web directory to select any folder just click the folder name , if you want to select subdirectories click the icon (),once you reach the target directory you want to protect click the directory name.
  4. cPanel redirect you to Security Settings Page.To start password protect the folder  :
    1. Check Password protect this directory option.
    2. Enter a name for the protected directory:Enter display label for the directory,This name only functions as a label for the directory. and will NOT change the directory name.
    3. Click Save button.and you will get green success message Success: The access permissions for “your_folder” have been set. Click Go back link.

  5. Start Create User to access the protected password folder Under Create User:
    1. Username: enter new username to access the password protected folder.
    2. New Password:Create a strong password for the username or click Password Generator to generate strong one.
    3. Confirm Password:Re-type the password.
    4. Click Save Button.
    5. Once you successfully add the user you can see the users included in list under Authorized Users

How to Remove cPanel Directory Privacy password protection

  1. Login to your cPanel .
  2. At cPanel Home dashboard locate Files section and click Directory Privacy icon.
  3. From Directory Privacy Page you can see the list of your web directories to select the protected folder usually protected folders or directories has icon ()  click the folder.
  4. Remove the checkbox from Password protect this directory. You can leave the Authorized Users ,All usernames and passwords are retained when you remove password protection from the directory, but they become inactive.

How to Remove cPanel Directory Privacy Authorized Users

  1. Login to your cPanel .
  2. At cPanel Home dashboard locate Files section and click Directory Privacy icon.
  3. From Directory Privacy Page you can see the list of your web directories to select the protected folder usually protected folders or directories has icon ()  click the folder.
  4. Remove the checkbox from Password protect this directory. You can leave the Authorized Users ,All usernames and passwords are retained when you remove password protection from the directory, but they become inactive.

XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

4 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago