How do I password protection a directory?

Overview

Password protection allows you to require a username and password to access a folder within your site from the web. When password protecting a folder, there are a few things to remember. Protecting a folder will protect all folders within that folder. Also, you will need to create users who can access the protected directory. You can give the password protected directory any name, no matter what the actual directory is called.

Security Settings

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.

Steps
  1. Click on the Password protect this directory text box.
  2. Think of a name you want to users to see when they visit the password protected directory. Enter the name in the "Name the protected directory" text box.
  3. Click on the Save button.
  4. You will see the following confirmation:
    • "The access permissions for PATH_TO_PASSWORD_PROTECTED_DIRECTORY have been set."
  5. Click on the Go Back link.
  6. When the page loads you will see your settings have been saved in the "Security Settings" section.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I setup customized Apache Handlers?

What are Apache Handlers? Apache handlers allow you to control what Apache will do with certain...

How do I customize my web site's Error Pages?

Overview With this tool you can create custom error pages to display when a user enters a wrong...

How do I create custom MIME Types?

Overview MIME Types tell browsers how to handle specific file extensions. For example, the...

How do I create a backup of my web site, directory or hosting account?

Overview Backups allow you to download (to your computer) a zipped copy of either you entire...

How do I view how much bandwidth my web site has used today, this month, or this year?

Overview The Bandwidth Usage feature allows you to see the bandwidth usage for your site. It...

Powered by WHMCompleteSolution