How to set password protection in cPanel directory

In this article, we will show you how to add password protection to your cPanel directories. Follow the below steps to get started.

  1. Login to your cPanel account.

  2. Click on the Directory Privacy icon under the files section.

    Directory privacy

  3. Select the directory you want to protect with a password.

    select directory

  4. Tick on Password protect this directory and also add the name for that directory and create user and password to access this directory as shown in the below image.

    add user and password

  5. Click on the Save button.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to change the default addon domain path from cPanel?

In this article, we will describe to you how to change the default root directory of your addon...

How to configure custom MIME type in cPanel?

MIME (Multi-Purpose Internet Mail Extensions) types are used to specify how the browser will...