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

 

Avatar for dpepper

About the Author: dpepper

Latest Articles

How to Edit Your DNS Hosts File

Read Article

How to Edit Your DNS Hosts File

Read Article

Microsoft Exchange Server Security Update

Read Article

How to Monitor Your Server in WHM

Read Article

How to Monitor Your Server in WHM

Read Article