Operators For Expressions - Netscape ENTREPRISE SERVER 6.1 - 04-2002 ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

ACL File Syntax
You can also restrict access to your server by time of day (based on the local time
on the server) by using the
timeofday
NOTE
The following example restricts access to a group of users called guests between
8:00 a.m. and 4:59 p.m:
allow (read)
You can also restrict access by day of the week. Use the following three-letter
abbreviations to specify days of the week:
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
following operators:
and
or
not
=
!=
With
> (greater than)
<
356
Netscape Enterprise Server Administrator's Guide • April 2002 (Draft)
attribute to restrict access to certain users during specific hours.
Use 24-hour time to specify times. For example, use
4:00 a.m. or
2230
(group="guests") and
(timeofday<0800 or timeofday=1700);
(equals)
(not equal to)
and
timeofday
dayofweek
(less than)
attribute. For example, you can use the
timeofday
for 10:30 p.m.
,
Sun
Mon
,
,
user
group
, you can use:
0400
,
,
,
,
Tue
Wed
Thu
Fri
, and
, you can use the
dns
ip
to specify
, and
.
Sat

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE ENTREPRISE SERVER 6.1 - 04-2002 ADMINISTRATOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Entreprise server 6.1

Table of Contents