ACL File Syntax
402
Netscape Enterprise Server Administrator’s Guide • November 2001
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.
The following example restricts access to a group of users called guests between
8:00 a.m. and 4:59 p.m:
allow (read)
(group="guests") and
(timeofday<0800 or timeofday=1700);
You can also restrict access by day of the week. Use the following three-letter
abbreviations to specify days of the week: Sun, Mon, Tue, Wed, Thu, Fri, and Sat.
The following statement allows access for users in the premium group any day and
any time. Users in the discount group get access all day on weekends and on
weekdays anytime except 8am-4:59 pm.
allow (read) (group="discount" and dayofweek="Sat,Sun") or
(group="discount" and (dayofweek="mon,tue,wed,thu,fri" and
(timeofday<0800 or timeofday=1700)))
or
(group="premium");
Operators For Expressions
You can use various operators in attribute expressions. Parentheses delineate the
operator order of precedence. With
user
,
group
,
dns
, and
ip
, you can use the
following operators:
•
and
•
or
•
not
•
=
(equals)
•
!=
(not equal to)
With
timeofday
and
dayofweek
, you can use:
•
greater than
NOTE
Use 24-hour time to specify times. For example, use 0400 to specify
4:00 a.m. or 2230 for 10:30 p.m.
Summary of Contents for NETSCAPE ENTREPRISE SERVER 6.0 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 18: ...18 Netscape Enterprise Server Administrator s Guide November 2001...
Page 26: ...26 Netscape Enterprise Server Administrator s Guide November 2001...
Page 48: ...Migrating a Server 48 Netscape Enterprise Server Administrator s Guide November 2001...
Page 50: ...50 Netscape Enterprise Server Administrator s Guide November 2001...
Page 146: ...146 Netscape Enterprise Server Administrator s Guide November 2001...
Page 242: ...242 Netscape Enterprise Server Administrator s Guide November 2001...
Page 294: ...294 Netscape Enterprise Server Administrator s Guide November 2001...
Page 332: ...Deleting a Virtual Server 332 Netscape Enterprise Server Administrator s Guide November 2001...
Page 378: ...378 Netscape Enterprise Server Administrator s Guide November 2001...
Page 396: ...Responses 396 Netscape Enterprise Server Administrator s Guide November 2001...
Page 414: ...Posting to JSPs 414 Netscape Enterprise Server Administrator s Guide November 2001...
Page 432: ...Further Information 432 Netscape Enterprise Server Administrator s Guide November 2001...
Page 444: ...444 Netscape Enterprise Server Administrator s Guide November 2001...