hostimul
All articles
cPanel

How to password protect files and directories in cPanel?

  1. Log in to your cPanel account
  2. Go to Files section
  3. Choose Directory Privacy menu:

How to password protect files and directories in cPanel? — screenshot 1

Choose the directory you want to protect:

How to password protect files and directories in cPanel? — screenshot 2

In Security Settings section give a name to the protected directory and check-mark Password protect this directory option:

How to password protect files and directories in cPanel? — screenshot 3

How to password protect files and directories in cPanel? — screenshot 4

In Create User section specify the username and the password that should be used to access this directory:

How to password protect files and directories in cPanel? — screenshot 5

How to password protect files and directories in cPanel? — screenshot 6