HostMonster Web Hosting Help

Password Protect a folder on your website


This article explains how to add password protection to a folder on your website

Do not follow the steps below if you are using FrontPage extensions on your site. Doing so will break your extensions and will keep you from publishing from Frontpage. If you are creating your content in FrontPage, we recommend you use FrontPage to password protect folders.

Tasks Involved

Click on any of the tasks to jump to that point in the guide.

What You Need

You will need the following items to complete this walkthrough.

  • The username and password to your HostMonster account.
  • The path and name of the folder you want to protect with a password.

Access The Password Protect Directories Tool

  1. Login to your account at
  2. Click the hosting tab at the top of your account.
    The hosting link.
    The hosting link.
  3. Scroll down to the Security group of icons and click on Password Protect Directories
    The security group.
    The security group.
  4. Click go on the popup that appears
    The directory password

Protecting a Directory

  1. Navigate the folder structure and select the directory you want
    NOTE: To open a folder and see its contents click the folder. To select a folder for password protection click on the folder name
    The folder structure.
    The folder structure.
  2. Choose the "Password protect this directory" option.
  3. Enter the name for the directory, this will appear whenever someone access the directory.
    Enabling Password Protection.
    Enabling Password Protection.
  4. Click save

Adding A User

  1. Under Create user, add a username in the the username box.
  2. In the password boxes type the password you would like the user to have
    Adding a user.
    Adding a user.
  3. Click the "Add or Modify The Authorized User" button

The folder you selected will now require a username and password to gain access. You can use the username and password you created to gain access.

Knowledgebase Article 97,262 views bookmark tags: folder password protect (updated 9 days ago)

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

This tutorial will show you how you can password protect parts of your website by password protecting the folder(s) on your account. (updated 419 days ago)
Video "How-to" Tutorial 135,899 views tags: cpanel cpanelutilities login password protect

What should I do if I am having problems with multiple password prompts on my password protected directory? (updated 2241 days ago)
Knowledgebase Article 83,199 views tags: folder password protect

How do I Password Protect a single file on my website? (updated 1215 days ago)
Knowledgebase Article 111,285 views tags: file passwd password prompt protect secure single

Related Help Content

How do I change my Control Panel password? (updated 64 days ago)
Knowledgebase Article 165,647 views tags: change cpanel password passwords protect

How can I protect the images on my website? (updated 1570 days ago)
Knowledgebase Article 134,118 views tags: click code image images javascript protect save saving script tips tricks

This article will explain how to change the password for a database in the event that the original password is lost. (updated 1034 days ago)
Knowledgebase Article 34,610 views tags: database mysql password

This article explains the different password types for your hostmonster account. (updated 140 days ago)
Knowledgebase Article 8,656 views tags: billing cpanel hosting main password

When FAQMasterFlex is installed in a subdirectory on an account and the administrator tries to login to the faq_admin.php page, the program will not accept the administrator username and password. (updated 1832 days ago)
Knowledgebase Article 50,829 views tags: password

I am prompted to set a new MySQL password. What does this mean and how do I change it? (updated 1182 days ago)
Knowledgebase Article 71,579 views tags: connect database mysql password phpmyadmin username

I need to protect the /images folder to not show images when people type in the correct URL like to protect from prying eyes. (updated 1223 days ago)
Knowledgebase Article 64,518 views tags: hotlink htaccess protection

This article will explain how to change or reset the password for a MySQL user. (updated 156 days ago)
Knowledgebase Article 3,461 views tags: change mysql password reset user