Chapter 14, Controlling Access to Your Server
355
Access Control Examples
Figure 14.8 Restricting access to a file type—in this case, to files with the .cgi extension
10.
Click Submit and save and apply your changes.
In this example, both continue boxes are checked. This means that if a request
for a file comes in, the server will first look at the ACL for the file type, and then
it will continue to look for another ACL that matches (for example, am ACL on
the URI or the path). The server checks ACLs in this order:
1.
Pathcheck functions in
obj.conf
. For example, these could be wildcard
patterns for files or directories. The entry in the ACL file would appear as
follows:
acl “*.cgi”;
2.
URIs. For example, a path relative to the document root. The entry in the
ACL file would appear as follows:
acl “uri=/my_directory”;
3.
Pathnames. For example, an absolute path to a file or directory. The entry
in the ACL file would appear as follows:
acl “path=d:\netscape\suitespot\docroot1\sales/”;
The entry in the
generated.https-
serverid
.acl
file for this example
looks like this:
acl "*.cgi";
allow (read,execute,list,info)
user = "anyone";
allow (all)
group = "programmers";
Содержание 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 ...