Appendix B, ACL File Syntax
459
ACL File Syntax
For example, using the ACL hierarchy with the request for the document
/my_stuff/web/presentation.html
, you could have an absolute ACL
that restricts access to the file type
*.html
. Then the server would use that
ACL instead of looking for one that matches the URI or the path.
version 3.0;
acl "default";
authenticate (user,group) {
prompt="Enterprise Server";
};
allow (read,execute,list,info)
user = "anyone";
allow (write,delete)
user = "all";
acl "*.html";
deny absolute (all)
user = "anyone";
acl "uri=/my_stuff/web/presentation.html";
deny (all)
user = "anyone";
allow (all)
user = "anyone";
Attribute Expressions
Attribute expressions define who is allowed or denied access based on their
username, group name, host name, or IP address. The following lines are
examples of allowing access to different people or computers:
•
user = “anyone”
•
user = “smith*”
•
group = “sales”
•
dns = “*.netscape.com”
•
dns = “*.netscape.com,*.mozilla.com”
•
ip = “198.*”
You can also restrict access to your server by time of day (based on the local
time on the server) by using the
timeofday
attribute. For example, you can
use the
timeofday
attribute to restrict access to certain users during specific
hours.
Note
Use 24-hour time to specify times (for example, use 0400 to specify 4 a.m. or
2230 for 10:30 p.m.).
The following example restricts access to a group of users called guests
between 8 a.m. and 4:59 pm.
Содержание 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 ...