Set Up a Password Protected Directory in Cpanel

 

Set Up a Password Protected Directory in Cpanel

This article explains how to password protect directories for increased security.

  1. Log into the Cpanel account, not the WHM. To do this, you will need to goto https://Your_IP_Address:2083 or http://Your_IP_Address:2082.
  2. Scroll down until you see "Password Protect Directories". Click on this to proceed.

  3. You will now be in the directory selection screen. Click on the directory that you wish to setup the password protection on to proceed.
  4. You will now be in the user creation screen. Here you will verify that you wish to setup the password protection and also on what directory. Please note that it gives you the ability to setup the directory that needs to have password protection enabled. So if you wanted to password protect the download directory as in this example, you would actually have to access "Public Html" first and then have it create the download directory. Cpanel only allows you to password protect directories that it creates.
  5. To proceed, check the box for "Password protect this directory" and then give the directory a name.
  6. Click Save.
  7. Cpanel will confirm and verify now that the directory has been created. Click on "Go Back" to proceed.
  8. Now create a user and a password.
  9. Click on "Add/modify authorized user".
  10. Cpanel will confirm and verify now that the user has been created. Click on "Go Back" to proceed.
  11. You'll now see that you have authorized users at the bottom for this directory. You also have the option of adding new users or deleting existing users.

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

..htaccess guidance

  .htaccess guidance .htaccess is a special Apache file that tells your website how to...

Linux Sites preview Offline

Linux Site's Preview Offline   http://IP_address/~UserName OR http://ServerName/~userName...

How to scan your website's data from CPanel?

Welcome the comprehensive step-by-step guide by our web hosting company on how to scan your...

How Can I Download a Backup of Full cPanel Account Using FTP?

If you want to download a backup of your website using FTP, please follow these easy steps below:...

How to create an addon domain?

An add-on domain is a fully functional domain and it can be created by using your Cpanel. Add-on...