Locking or passwording a directory in cPanel

Tutorials cPanel | htpasswd | password | security
Steps to block a directory via cPanel
by Mihai BobriucViews 84Updated now 3 monthsPublished 13/07/2022


  • In this tutorial we will show you the necessary steps to lock or password a directory in cPanel


  • a cPanel account


1. Access the cPanel panel and go to the Security section, where you click on Privacy director.

Confidentialitate director cPanel

After accessing "Privacy director", the window below will open:

Setare parolă pe un director de cont

2. Click on the folder icon to navigate through the directories. Click on the name of the directory you want to password/lock to select it and the window below will automatically open.

Setari de securitate pe un director

3. Check the box"Protect this directory with a password"

4. Enter a name for the protected directory in the first field and press the button Save.

5. Enter a name of user and in the last two fields add secure password  which you will use to access it directory/folder, then press the button Save.


Similar Articles

Creating a mailbox in cPanelTutorials cPanel | email | cpanel | add
The cPanel panel allows the creation of an unlimited number of email boxes associated with hosted domains. This tutorial will explain the necessary steps to create and access an e-mail box.
by Mihai BobriucViews 1345Updated now 28 daysPublished 28/06/2017
Domain .ro transferTutorials Domains | registrar | rotld | authorization key | transfer
This tutorial shows the steps required to obtain the authorization key from the ROTLD panel to transfer a .ro domain to a new registrar
by Ana RednicViews 319Updated now 2 yearsPublished 25/10/2018
How to set nameservers in the ROTLD panelTutorials Domains | nameservers update | rotld
This article will describe the steps required to set or update nameservers on a domain registered with ROTLD
by Ana RednicViews 330Updated now 2 monthsPublished 25/10/2018
Enable DNSSEC in ROTLDTutorials Domains | dnssec | domain | rotld
This tutorial will describe the steps required to enable DNSSEC on a .ro domain in the ROTLD panel
by Ana RednicViews 246Updated now 2 monthsPublished 25/10/2018
Manually set up your email account in OutlookTutorials Email | e-mail | outlook | manually
In this tutorial we will show you how to manually configure your email account in your Outlook email client.
by Ana RednicViews 417Updated now 2 monthsPublished 25/10/2018