Sun Java System Web Server 6.1 SP9 Administrator's Guide

Restricting Access to a Directory (Path)

You can allow users in a group to read or run applications in directories, and its subdirectories and files, that are controlled by the owner of a group. For example, a project manager might update status information for a project team to review.

To limit access to a directory on the server, using the steps described for setting access control for a server instance, perform the following task:

ProcedureTo limit access to a directory on the server

  1. Use the Server Manager to select the server instance.

  2. Choose the Preferences tab.

  3. Click the Restrict Access link.

  4. Choose the ACL File to edit.

  5. Browse the Pick a Resource section and select the directory you want to restrict.

    The directories in the server’s document root are displayed. Once selected, the Editing drop-down list displays the absolute path to the directory.


    Note –

    If you want to view all files in your server root, click Options and then List files as well as directories.


  6. Click Edit Access Control.

  7. Create a new rule and leave the defaults to deny access to everyone from everywhere.

  8. Create another new rule allowing users in a specific group to have read and execute rights only.

  9. Create a third rule to allow a specific user to have all rights.

  10. Deselect Continue for the second and third lines and click Update.

  11. Submit and Apply your changes.

    An absolute path to the file or directory is created in the docrootdirectory. The entry in the ACL file would appear as: acl “path=d:\sun\suitespot\docroot1\sales/”;