Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_ad1f428200a778076646fd7165c66e50, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
CPanel Directory Privacy Password to Protect Files And Directories Using

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.

    cPanel Directory

  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 ( cpanel folder Directory Privacy ),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.

    cPanel Directory Privacy  Security Settings

  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 

    cPanel Directory Privacy Security Create User

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 ( cpanel-protected folder Directory Privacy )  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 ( cpanel-protected folder Directory Privacy )  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. 

cPanel Directory Privacy Authorized Users

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts