Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

How to password protect a directory in cPanel

Let's discover how to password protect a directory, so that people will need a password to view web pages within it.

This tutorial assumes you've already logged in to cPanel.

1) Click Password Protect Directories

2) Select the directory to start with, then click Go

3) Select the directory you want to password protect by clicking it's name

4) Check the Password protect this directory box...

5) Then give a name for the directory, and click Save

The directory is now protected, and requires a password to enter it via a browser

We must therefore create at least one user, and assign them a password to access the directory

6) Click Go Back

7) Enter a username here

8) Then enter and confirm a password

9) Click Add authorized user

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

You can see the active user for this directory here...

... and can add or delete users from this page at any time

This is the end of the tutorial. You now know how to password protect directories, and assign users to them

Was this answer helpful?

 Print this Article

Also Read

How to update your contact information in cPanel

Let's discover how to update your contact information in cPanel. This tutorial requires that...

How to view your website stats in cPanel

Let's discover how to view our website stats. This tutorial assumes you've already logged in...

How to use File Manager in cPanel

Let's discover how to use File Manager. This tutorial requires that you have already logged...

How to create an addon domain in cPanel

Let's discover how to create an addon domain. This tutorial assumes you've already logged in...

How to park a domain in cPanel

Let's discover how to park a domain. This tutorial assumes you've already logged in to...

Powered by WHMCompleteSolution