Password Protect a folder on your website

Overview

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

What You Need

You will need the following items to complete this walkthrough.

  • The username and password to your Bluehost 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 cPanel
  2. Go to Directory Privacy   

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 icon.
  2. Choose the "Password protect this directory" option.
  3. Enter the name for the directory, this will appear whenever someone access the directory.
  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
  3. Click the "Save" 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.
Was this answer helpful? 2 Users Found This Useful (130 Votes)

Powered by WHMCompleteSolution