Most Web servers have configuration controls and commands that limit access to pages and data that reside on the server. Using WEBppliance's Web Server Manager, you can limit access to directories by using password protection.
To protect a directory on the Apache server:
When you protect a directory, the Apache server creates an . htaccess file with an authorization name for the directory. This access file points to a password file that restricts access to the directory. When a user accesses a protected directory, the Apache server prompts the user for a password and verifies that this password is in the password file before granting the user access to the directory.
To restrict access to protected directories, you must divide users into practical groups, such as Sales or Executive and then manage user authorization through these groups.
Once you have created a user group, add users to it using the Manage Users option.
The Protect Directories: (HTAccess) UserName/Password Manager window opens, showing a list of the user groups currently stored in the group file and, at the bottom of the form, a list of user names that currently have a password in the password file.
You can add the user to multiple groups by using Ctrl-click (holding down the Ctrl key and clicking the group names).
The list of users at the bottom of the window displays the new user's name.
Use the following steps to edit a user's password.
The Protect Directories: (HTAccess) UserName/Password Manager window opens, showing a list of the user groups currently stored in the group file and, at the bottom of the form, a list of user names that currently have a password in the password file.
The user's current password in the appears in the Password field.
To remove a user from a group, you must remove the user from the password file. If the user is to retain access to protected directories as a member of another group, you will have to add the user back into that group.
To remove a user from a group:
The Protect Directories: (HTAccess) UserName/Password Manager window opens, showing a list of the user groups currently stored in the group file and, at the bottom of the form, a list of user names that currently have a password in the password file.
next to the user you want to remove.
When you set protection on a directory, the Apache server creates an HTAccess file for the directory. This access file points to a password file that restricts access to the directory.
The Protect Directories (HTAccess Configuration) window opens, showing a list of the directories residing on the server. The directories are identified as either unprotected or protected.
The Set HTAccess AuthName window opens, showing the directory you are going to protect and a list of the groups that currently exist.
For example, to protect a directory of employee salary information, enter Salaries.
You can specify multiple directories by using Ctrl-click (holding down the Ctrl key and clicking the directory names).
When you remove protection from a directory, the Apache server removes the HTAccess file from the directory.
The Protect Directories (HTAccess Configuration) window opens, showing a list of the directories residing on the server. The directories are identified as either unprotected or protected.
The following message appears, verifying the action.
Access File Removed. Directory Unprotected.