How To Enable Password-Protection for Directory

This option will allow you to require a username and password to access a folder or folders from the web. This can be very useful when you need to limit access to a certain part of your site.

1. Login to Cpanel
2. Select “Password Protect Directories” under Security feature and click on Go.
3. Please select the folder you wish to protect by clicking on its name
3. Check the box “Password protect this directory” and Name the protected directory.
4. Enter the username and password
5. Click add/modify authorized users
6. So now when a user accesses the protected directory through the web, they will be prompted to enter a username and password. The name that you choose for the protect directory will appear as well.

You can also disable this by unchecking the “Password protect this directory” check box.