Password protecting a page/directory

Password protection in Zeus Server is controlled by means of usergroups. A usergroup is simply a named collection of userids and passwords grouped together. This usergroup can be applied to portions of the document tree to password protect that section. Thus multiple parts of the docroot tree can be protected by the same usergroup, and you can have multiple usergroups.

Therefore password protecting a page or directory is potentially up to three separate operations.

  1. Creating a usergroup, if you don't have one already, or want to create a new security group.
  2. Adding the userid/password pair to the usergroup
  3. Applying that usergroup to the portion of the document tree in question.

1. Creating a new usergroup

From the front-page, select the following links:
  1. Configuration
  2. Server Configuration
  3. Edit server (selecting the appropriate virtual server which you desire to set CGIs up for).
  4. Database configuration
  5. Usergroup management
  6. Create usergroup
Choose a suitable name for the usergroup you wish to create, and then select the Create button. Select the Back option at the bottom of the page to return you to the Usergroup management page.

2. Add the userid/password to the usergroup

For this, you need to select the Add user(s) to usergroup option from the Usergroup management page. If you did step 1 you will be on that page already, otherwise follow the links shown in step 1.

At this point, choose the group you wish to add the userid/password to. Then fill in the fields for the userid and password and select the Add button. Select the Back option at the bottom of the page to return you to the previous page where you can add more entries (ensure that you select the correct group to add to again). Repeat this operation until you have added all the entries you require.

3. Applying the usergroup to a portion of the document tree

For this you need to select the Userid/password link off the Database configuration menu. To get there from the front-page, choose the following links:
  1. Configuration
  2. Server Configuration
  3. Edit server (selecting the appropriate virtual server which you desire to set CGIs up for).
  4. Database configuration
Then choose the usergroup you wish to apply, the portion of the document tree you wish to apply it to, and a description of the resource you are protecting. Once this is done, click on the Add button. Select the Back option at the bottom of the page to return you to the Userid/password form entry page. Then in order to put this change into effect, you need to restart the administration server. Thus choose the START/STOP at the bottom of the page, then select (Re)Start server.
Back to administration server guide