Access Control Examples
Restricting Access to a Directory (Path)
This example lets users in a group called "executives" have read access to a
directory and its subdirectories and files on the server. The user called "ceo"
has full permissions to the directory.
You might use this example if you have a directory on your server that one
person owns (that is, they publish to this directory) and you want one group of
users to read the files. For example, you might have a project owner who
publishes status information for the project team to review.
To restrict access to a directory on the server, perform the following steps:
1.
2.
3.
Note
4.
5.
350 Netscape Enterprise Server Administrator's Guide
deny (all)
user = "anyone";
allow absolute (all)
(group = "employees") and
(dns = "*.emp.netscape.com");
In Enterprise Server, choose Server Preferences.
Click the Restrict Access link.
The Access Control List Management page appears.
In the section called Pick a Resource, click the Browse button.
In the page that appears, click the link for the directory you want to restrict.
The directories listed in this page are in the servers document root. Once
you click a link, the Editing drop-down list displays the absolute path to the
directory.
If you want to view all files in your server root, click Options and check the
box labeled "List files as well as directories" and then click OK.
Click Edit Access Control.
The two-frame pages appear.
Click New Line twice to create two rules.
Need help?
Do you have a question about the Netscape Enterprise Server and is the answer not in the manual?
Questions and answers