ACL File Syntax
458
Netscape Enterprise Server Administrator’s Guide
Authorization Statements
Each ACL entry can include one or more authorization statements.
Authorization statements specify who is allowed or denied access to a server
resource. Use the following syntax when writing authorization statements:
allow|deny [absolute] (right[,right...]) attribute expression;
Start each line with either allow or deny. It’s usually a good idea to deny access
to everyone in the first rule and then specifically allow access for users, groups,
or computers in subsequent rules. This is because of the hierarchy of rules.
That is, if you allow anyone access to a directory called
/my_stuff
, and then
you have a subdirectory
/my_stuff/personal
that allows access to a few
users, the access control on the subdirectory won’t work because anyone
allowed access to the
/my_stuff
directory will also be allowed access to the
/my_stuff/personal
directory. To prevent this, create a rule for the
subdirectory that first denies access to anyone and then allows it for the few
users who need access.
However, in some cases if you set the default ACL to deny access to everyone,
then your other ACL rules don’t need a “deny all” rule.
The following line denies access to everyone:
deny (all)
user = "anyone";
Hierarchy of Authorization Statements
ACLs have a hierarchy that depends on the resource. For example, if the server
receives a request for the document (URI)
/my_stuff/web/presentation.html
, the server first looks for an ACL
that matches the file type or any other wildcard pattern that matches the
request, then it looks for one on the directory, and finally it looks for an ACL on
the URI. If there are more than one ACLs that match, the server uses the last
statement that matches. However, if you use an absolute statement, then the
server stops looking for other matches and uses the ACL containing the
absolute statement. If you have two absolute statements for the same resource,
the server uses the first one in the file and stops looking for other resources that
match.
Содержание 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 ...