Guidline to password protect web directories

1. Purpose:

Sometimes you want to restrict other people access to the folder that contains important data on your Hosting. The following article will guide you to prevent unwanted access by creating passwords for web directories.

2. The steps are:

Step 1: Log in Cpanel-> The other managements tool-> Create a password for the web directory

  Then you will see the directories on your hosting.
saved folder

Step 2: Select the folders to be protected with a password. Examples joomla

Check the box Password protect this directory and name the folder is protected. Then select Save

 saved

Next you need to create a username and password. You will use this username and password to access the directory should be protected.
saved folder

Then select Add / modify Authorized user. Now that you've successfully created. Select Go Back
saved folder

Looking below you will see your newly created username. And you can create more user anymore, the user name will be displayed in this table.
saved folder

When done successfully with protected directory will have padlock icon

saved folder

Step 3: From now on every time you want to access this folder you need to enter a valid username and password.
saved folder

 

Removing lock protection: you just uncheck the box Password protect this directory in Step 2 and delete all users in the table with Delete user
saved folder
saved folder

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The path to the root directory and tools in Unix

1. The path to the root directory in Unix: When you successfully register a hosting account with...

Change the Password for cPanel

1. How to change the password for cPanel:  Access to...

The services managed and supported by Cpanel

The services provided by the cPanel management system and support include: Apache: cPanel allows...

Apache status missing in cPanel WHM

1. Reason Error  directive server-status in the Apache’s configuration file httpd.conf 2. Fix:...

Log file của cPanel

Log file của cPanel được lưu tại thư mục /usr/local/cpanel/logs/, gồm có các file chính sau:...

Powered by WHMCompleteSolution