How do I password protect a directory?



  1. Login to cPanel.
  2. Locate and click on the Password Protect Directories icon under the Security category.
  3. Locate
  4. A prompt will appear asking you where the directory is located at. The default option will work for most users.
  5. Select
  6. Select the specific folder you want to password protect.
  7. Select
  8. Enter the required information:
    • Password protect this directory - Choose whether or not the directory is password protected.
    • Name the protected directory - Essentially an alias for the protected directory.
  9. Click the Save button to update the directory settings.
  10. Enter authorization information to give a user access to the directory:
    • Username - Create a username for the directory.
    • Password - Select a password for the user to access the directory.
    • Password (Again) - Confirm the user's password.
  11. Enter
  12. Click the Add/modify authorized user button to save the user.


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Password Protect a Directory

This tutorial will teach how to password protect a directory. Password protecting a directory...

How To Use The IP Deny Manager

This tutorial will teach you how to use the IP Deny Manager to block access to your web site...

Using Hotlink Protection

Hotlink Protection prevents other web sites from directly linking to certain files (typically...

How do I block an IP address from accessing my site?

If you wish to ban a user from accessing your website in any way, the best way to do this is to...

How do I configure hotlink protection?

Login to cPanel. Locate and click on the Hotlink Protection icon within the Security...