Access Control Examples
352
Netscape Enterprise Server Administrator’s Guide
The entry in the
generated.https-
serverid
.acl
file for this example
looks like this:
acl "path=/usr/netscape/server4/nes/docs/senior-staff/";
deny (all)
user = "anyone";
allow absolute (read,execute,list)
group = "executives";
allow absolute (all)
user = "ceo";
Restricting Access to a URI (Path)
This example uses a URI to control access to a single user’s content on the web
server. URIs are paths and files relative to the server’s document root directory.
Using URIs is an easy way to manage your server’s content if you frequently
rename or move all or part of it (for example, for disk space). It’s also a good
way to handle access control if you have additional document roots.
This example gives anyone read access to files and directories in the path
specified by the URI
/my_directory
. Only one user (“me” in this example)
has full access to the directories and files.
You might use this example if you have several users who publish their content
on your server. The users want to have write access to their content, and they
want anyone to have read/execute access.
To restrict access to a URI, perform the following steps:
1.
In Enterprise Server, choose Server Preferences.
2.
Click the Restrict Access link.
The Access Control List Management page appears.
3.
In the section called “Type in the ACL name,” type the URI you want to
control. For example, type
uri=/my_directory
. Click Edit Access
Control.
The two-frame pages appear.
4.
Click New Line to create the first rule that allows all users read access.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...