How to password protect a directory in cPanel?



How to password protect a directory in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen.

Now let's learn how to password protect a directory.

Click the Password Protect Directories icon.

Select the directory to start with, then click Go.

Select the directory you want to password protect by clicking its name.

Check the Password Protect box, 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 so they can access the directory.

Assign a username and password in the Create User section.

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 new user we just added in the Authorized Users section.

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

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to setup a forwarder for an entire domain in cPanel?

How to setup a forwarder for an entire domain in cPanel This demo assumes you've already...

How to delete Domains/subdomain in the cPanel?

You can delete the add-on domains and sub-domains from the cPanel. Add-On Domain: Login to...

How to manage a MySQL database with phpMyAdmin in cPanel?

How to manage a MySQL database with phpMyAdmin in cPanel This demo assumes you've already...

How to setup domain redirects in cPanel?

How to setup domain redirects in cPanel This demo assumes you've already logged in to cPanel,...

How to Increase Mailbox Quota in cPanel?

We restrict email diskspace to 2 GB in Windows Shared Hosting plans. Linux Shared Hosting...