Password Protect a Directory
From Lunarpages Web Hosting Wiki
With your Lunarpages hosting account, along with cPanel, you can password protect your directories. If you wish to keep certain file private, this can be enabled easily through your hosting account's cPanel.
How to Password Protect a Directory in cPanel
First step you need to take is login to your hosting account's cPanel, and make your way to the front page. From there, scroll down and click on the icon marked, "Password Protect Directories". By doing so, you should be transported to the Password Protect Directories web page:
You will see a list of your folders. Select the folder that you wish to password protect. After you click on the folder you wish to protect with a password, you are taken to a new screen.
To start with the password protection process, hit the check mark box at the top of the web page. Next you need to create a resource name. This will be the title in the popup window that prompts your user to login. Now hit the "Save" button to save your protected resource name.
Creating Users and Passwords for a Folder
From the front page of cPanel, go to "Password Protect Directories" then the folder you wish to protect. Scroll to the bottom section of the page and you will see a box for setting up your users and password for that folder.
Fill out the two boxes for your special user name and password to get into this folder. The password should be 6-8 alpha-numeric characters and should not include the user name.
Make sure you take note of the user name and password combination, and then click on the button marked, "Add New User". Now when trying to access your password protected directory you will use that user name and password combination to do so.
Want to read this in another language? | Web Hosting Support Categories: Beginner | Billing & Sales | Web Design | LPCP | cPanel | Plesk | Quicksite | PageMason | E-mail | Databases | Domain Names | Reseller | Dedicated | VPS | ASP | JSP | PHP | Third Party Scripts | Affiliates | Misc |
Lunarpages Deal: Save $72 on your next Business web hosting plan! Starting at $18.95 per month, this an offer you can't miss. Perfect for business and e-commerce hosting sites, comes with free e-commerce tools and a TremenDesk Help Desk. Limited time offer!


