Server Security

How do I password protect a directory in cPanel/WHM?

  1. Log into cPanel.
  2. Click on Password Protect Directories under the Securities section.
  3. A pop-up box entitled File Manager Directory Selection will appear.  Choose Web Root and click Go.
  4. Choose the directory that you would like password protected.
  5. On the following page you will need to check the box next to “Password protect this directory” and give the directory a name. Click Save.
  6. You will then need to add users to this directory under the Create User section by entering in a username and password.
  7. Finally, click Add/modify authorized user.

Photo by LadyDragonflyCC

Find out more about ServInt solutions

Starting at $25

  • Hosting Advice
  • The New York Times
  • The Hill
  • Bloomberg
  • The Seattle Times
  • Computer World
  • Ars Technica
  • MSNBC

To engage with the ServInt Sales Team use the following chat icon. Normal sales hours are Monday-Friday 9am-5pm EST but feel free to leave a message and we will follow up as soon as possible.

Sales Chat



To engage with the ServInt Support Team you must be logged into our Customer Portal for identity verification and have a ticket opened about your request or there will only be limited support offered.

Support Chat

CLOSE