Home > Knowledgebase > Security > How do I password protect a directory?


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 the Password Protect Directory icon within cPanel.
  4. A prompt will appear asking you where the directory is located at. The default option will work for most users.
  5. Select the location of the directory.
  6. Select the specific folder you want to password protect.
  7. Select the folder to password protect
  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 the required information.
  12. Click the "Add/modify authorized user" button to save the user.


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Website Hosting New Zealand

Web Hosting and Domain Registration New Zealand
HostBee is a 100% New Zealand Web Hosting and domain registration company. We provide affordable web hosting, a huge variety of domain extensions, one of New Zealand's largest range of SSL certificates and professional website design solutions. Our service comes with 24 hour support, 365 days a year!

Register a Domain

.nz
.au
.net
.org
.com