WordPress · Let.com knowledge base

Setting up a Password for a Directory

Updated 2024-08-221 min read

Hosting documentation. Account access is coming soon. Always use the server details and nameservers assigned to your own 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.

File_Manager.png

 

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

_Settings.png

 

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

Set_permissions_for_public_html.png

 

5.Create a user and password.

Create_User.png

 

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.

httpsmydomainname.info.png

 

 

Did this point you in the right direction?

Talk to the Let.com team

Frequently asked questions

What you need to know.

Talk to our team

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