WordPress · Let.com knowledge base

Setting up a Password for a Directory

Updated 2024-08-221 min read

Hosting reference guide. Screenshots may show earlier interfaces. Account access is coming soon. Confirm current menus, server details and nameservers for your account.

You have the option in cPanel to set up a password to a directory (folder) to protect it or to keep it private and only to allow access to those you give the username and password to. Bellow we will be going over on how to set up a password for a directory with in cPanel.

 

 

1.Log into your cPanel

 

2.Under the Files section click on Directory Privacy icon.

Guide illustration for Setting up a Password for a Directory

 

3.Click on EDIT next to the folder you want to set up a username and password for.

Guide illustration for Setting up a Password for a Directory

 

4.Click on the box for Password protect this directory then enter a name for the protected directory and click save.

Guide illustration for Setting up a Password for a Directory

 

5.Create a user and password.

Guide illustration for Setting up a Password for a Directory

 

6.Now you can test if it work by going to that directory in the browser and it should give a pop asking you to sign in.

Guide illustration for Setting up a Password for a Directory

 

 

Did this point you in the right direction?

Talk to the Let.com team

Frequently asked questions

What you need to know.

Get support

Where is password protection for a folder configured?

Open Directory Privacy in cPanel’s Files section and select Edit beside the folder you want to protect.

Is enabling protection the only required step?

No. The guide also creates a username and password after enabling Password protect this directory and saving the directory settings.

How can I check whether directory protection is working?

Visit that directory in a browser. The guide expects a sign-in prompt requesting the username and password.

Let.com

Coming soon.

Account sign-up, log-in and checkout are not available yet. You can explore our products and compare plans while we get everything ready.

Compare plans