How To Password Protect a Directory in cPanel

Posted on by dpepper
Reading Time: 3 minutes

  1. This tutorial assumes you’ve already logged in to cPanel, and are starting on the home screen.  Let’s learn how to password protect a directory.cpanel-paperlantern-18-protect--01
  2. Click the “Directory Privacy” icon.cpanel-paperlantern-18-protect--02
  3. Select the directory to start with, then click “Go”.cpanel-paperlantern-18-protect--03
  4. Select the directory you want to password protect by clicking its name.cpanel-paperlantern-18-protect--04
  5. Check the “Password Protect” box, then give a name for the directory, and click “Save”.cpanel-paperlantern-18-protect--05
  6. The directory is now protected and requires a password to enter it via a browser.cpanel-paperlantern-18-protect--06
  7. We must, therefore, create at least one user, and assign them a password so they can access the directory.cpanel-paperlantern-18-protect--07
  8. Assign a username and password in the “Create User” section.cpanel-paperlantern-18-protect--08
  9. The protected directory now has one user who has access to it. Repeat this process for each additional user you want to grant access for.cpanel-paperlantern-18-protect--09
  10. You can see the new user we just added in the “Authorized Users” section.cpanel-paperlantern-18-protect--10


About the Author: dpepper

Have Some Questions?

Our Sales and Support teams are available 24 hours by phone or e-mail to assist.


Latest Articles

5 Alternatives to GitHub

Read Article

5 Steps to Install and Configure osquery on CentOS 7 & 8

Read Article

Five Steps to Create a Robots.txt File for Your Website

Read Article

Premium Business Email Pricing FAQ

Read Article

Microsoft Exchange Server Security Update

Read Article