Tutorials Check Email My Account
Home Web Hosting Domain Sign Up FAQ Contact Us
Toll Free No. : 888.638.9963    

Register and park a new domain for as low as US$20 a year Price Chart »
Reserve A Domain Now:
Contact Us On-line:
Web Messaging

In Vancouver, Canada
Other Areas:
Password Protecting Directories

You can limit access to files stored on your site by requiring users to type a password to gain access. This is known as "protecting directories."

When users attempt to access a file in a protected directory, the Web server displays a login window. Users with access privileges enter their user names and passwords to access the file. Users without access privileges cannot access the file.

To setup Password Protected Directories login to your Web Site Management Panel. In the shortcuts area, click Protect Directories (File Manager section).

If you have not done so already, create an HTAccess group, then specify the user or users who belong to the group. You need to create a at least one group and add at least one user to that group before you can protect a directory. Click Manage Groups.

Enter Group name and click ADD.

Click Manage Users.

Enter UserName, Password, select group and click Add/Edit.

Click Protect Directories.

Select the directory or folder that you would like to protect. For osCommerce users you need to protect /var/www/html/shop/admin/. Click .

In the AuthName field, enter a descriptive name for the directory you want to protect. When users attempt to access files, this name is displayed in the login window as the Realm. For example, to protect a directory of employee salary information, you might type Compensation. Click Protect.

An 'X' will appear on the lock icon and the folder is now protected.

When you attempt to access file(s) within the protected directory, a login box will appear and you will be required to enter the proper login information before being able to access the file(s).


If you require additional assistance, please feel free to contact our customer service team: https://#site_domain_name#/ContactUs/

Back to Tutorials Page

Legal Privacy