Writing Customized Expressions; Turning Off Access Control - Netscape ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Execute allows users to execute server-side applications, such as CGI
programs, and Java applets
Delete allows users who also have write privileges to delete files or
directories.
List allows users to access lists of the files in directories that don't contain
an
index.html
Info allows users to receive information about the URI.

Writing Customized Expressions

You can enter custom expressions for an ACL. Only select this option if you are
familiar with the syntax and structure of ACL files. There are a few features
available only by editing the ACL file or creating custom expressions. For example,
you can restrict access to your server depending on the time of day, day of the
week, or both.
The following customized expression shows how you could restrict access by time
of day and day of the week. This example assumes you have two groups in your
LDAP directory: the "regular" group gets access Monday through Friday, 8:00am
to 5:00pm. The "critical" group gets access all the time.
allow (read)
{
(group=regular and dayofweek="mon,tue,wed,thu,fri");
(group=regular and (timeofday>=0800 and timeofday<=1700));
(group=critical)
}
For more information on valid syntax and ACL files, see Appendix C, "ACL File
Syntax" and "Referencing ACLs in obj.conf," on page 355.

Turning Off Access Control

When you uncheck the option labeled "Access control is on," you'll get a prompt
asking if you want to erase records in the ACL. When you click OK, the server
deletes the ACL entry for that resource from the ACL file.
If you want to deactivate an ACL, you can comment out the ACL lines in the file
generated-https-server-id.acl
file.
by putting # signs at the beginning of each line.
Chapter 8
Selecting Access Control Options
Controlling Access to Your Server
187

Advertisement

Table of Contents
loading

This manual is also suitable for:

Entreprise server 6.1

Table of Contents