Chapter 14, Controlling Access to Your Server
331
How Does Access Control Work?
Access Control Files
When you use access control on Enterprise Administration Server or the files or
directories on your web site, the settings are stored in a file with the extension
.acl
. Access control files are stored in the directory
server_install
/httpacl
where
server_install
is the location where
the server is installed. For example, if you installed the server in
/
usr/netscape/server4
, the ACL files for both Enterprise Administration
Server and each server instance configured on your server would be located in
/usr/netscape/server4/httpacl/
.
The main ACL file name is
generated-https-
server-id
.acl
; the
temporary working file is called
genwork-https-
server-id.
acl
. If you
use Enterprise Server to restrict access, you’ll have these two files. However, if
you want more complex restrictions, you can create multiple files and reference
them from the
magnus.conf
file. There are also a few features available only
by editing the files such as restricting access to the server based on the time of
day or day of the week.
Note
When server users change ACLs through Web Publisher, the ACL configuration
files are modified, and you receive a JavaScript notification alerting you of the
change.
Also, you can manually create and edit
.acl
files to customize access control.
For example, if you want to use an Oracle or Informix database of users instead
of an LDAP database, you need to use the access control API to program a
hook into the server’s access control structure. This API is written in the C
programming language. For more information on the API, see the Netscape
DevEdge Online site at
http://developer.netscape.com.
For more information on access control files and their syntax, see “ACL File
Syntax” on page 456.
How Does Access Control Work?
You can control access to the entire server or to parts of the server such as
specific tabs or pages in Enterprise Administration Server or the files or
directories on your web site. When the server evaluates an incoming request, it
determines access based on a hierarchy of rules called access control entries
(ACEs), and then it uses the matching entries to determine if the request is
Содержание 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 ...