Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 148
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
Enterprise Server 6.1 APIs
26 Netscape Enterprise Server Programmers Guide April 2002 (Draft)
To create access control lists, use the Restrict Access page in the Preferences tab of
the ServerManager interface.You can also editthefilesthat contain theACLs used
by the server.
The default access control list resides in the directory
server_root/httpacl. The
default ACL file is
generated.https-server_id.acl. There is also a file called
genwork.https-server_id.acl that is a working copy the serveruses until you save
and apply your changes when working with the user interface. When editing the
ACL file, you might want to work in the
genwork file and then use the Server
Manager to load and apply the changes.
WithEnterprise Server 6.1,you canconfigure andreference multiple ACLfiles.For
more information, see the discussion of the
server.xml file in the Netscape
Enterprise Server NSAPI Programmer’s Guide.
With the Access Control API, you can manipulate access control lists (ACLs), read
and write ACL files, and evaluate and test access to resources on the server.
Youcan alsodefineyourownattributes for authentication.Forexample,youmight
want to authenticate users based on email address or on the URL that referred
them to the resource. For example:
allow (read) referer="*www.example.com*"
You can also authenticate the client based on your own authentication methods
and databases.
Registering New Authentication Services
To tell the server to use your attributes for authentication, you need to define your
ownLoadableAuthenticationService(LAS),whichisanNSAPIplugin.Youloadit
into the server in the usual manner by adding the following directives to
magnus.conf:
•An
Init directive that invokes the load-modules function to load the shared
library.
•An
Init directive that calls the initialization function.
For More Information
For information about using the ACL API, see the Access Control Programmer's Guide.
Forinformationaboutthe syntaxfor editing ACL files, seeAppendix Ain the same
book.
For more information about configuring ACL files for virtual servers, see the
discussionof the
server.xml file in the Netscape Enterprise Server NSAPI
Programmer’s Guide.
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 147 148

Comentarios a estos manuales

Sin comentarios