Sun Java System Web Server 6.1 SP10 Getting Started Guide

ProcedureTo set access control

Start by creating an ACL for the virtual server .

  1. Access the Server Manager and choose the Preferences tab.

  2. Click the Restrict Access link.

  3. Under the Option column, select the ACL file. We choose the default file in our example and click OK.

    Figure 3–6 Access Control List Management Page

    Access Control List Management Page

  4. Select Pick a Resource and then specify the following wildcard pattern to control access to all files in the /hr/publish/manager directory :


  5. Click the Edit Access Control button.

  6. Check the “Access control is on” checkbox and click the New Line button.

    Figure 3–7 Editing the Access Control

    Editing the Access Control

  7. Click on Deny in the second row of the Action column.

    This opens the Allow /Deny page in the lower frame of Figure 3-8: Restricting Access Control

    Figure 3–8 Restricting Access Control

    Restricting Access Control

  8. Click Allow, if not selected by default, and then click Update.

  9. Click on “anyone” in the Users/Groups column, in the top frame.

  10. Enter “manager” as the user you will allow access to, and keyfile1 as the authentication database, in the User/Group page that appears in the lower frame of Figure 3-9: Access Control for User and User Groups

    Figure 3–9 Access Control for User and User Groups

    Access Control for user and user groups

  11. Click Update.

  12. Click Submit to store the new access control rules in the ACL file.

  13. Click Apply Changes and save and apply the changes that you have made.

    Once an ACL is set users accessing the site will be required to authenticate themselves before they are allowed access, as shown below:

    Figure 3–10 User Authentication Page

    User authentication page