Restricting Access to Your Web Site
334
Netscape Enterprise Server Administrator’s Guide
# The following ACL rule denies everyone not in the directory
# server and everyone in the directory server except for
# GroupA and GroupB access to the directory “my_stuff”
acl "path=/export/user/990628.1/docs/my_stuff/";
authenticate (user,group) {
database = "default";
method = "basic";
};
deny (all)
(user = "anyone");
allow (read,execute,list,info)
(group = "GroupA,GroupB");
If someone requests the following URL:
http://
server_name
/my_stuff/web/presentation.html
The server would first check access control for the entire server. If the ACL for
the entire server was set to continue, the server checks to see if there is an ACL
for the file type (
*.html
). Then, it checks for an ACL for the directory,
my_stuff
. If one exists, it checks the ACE and then moves on to the next
directory. The server continues traversing the path either until it reaches an ACL
that says not to continue or until it reaches the final ACL for the requested URL
(in this case, the file
presentation.html
).
To set up access control for this example using the Server Manager, you could
create an ACL for the file only or for each resource leading to the file. That is,
one for the entire server, one for the
my_stuff
directory, one for the
my_stuff/web
directory, and one for the file.
Restricting Access to Your Web Site
This section takes you through the process of restricting access to the files or
directories on your web site. The sections following this one describe in detail
each option available when using access control. Keep in mind that most
access control rules use only a subset of the available options.
You can set access control through two Enterprise Server mechanisms, both
offer flexibility in the scope of your desired settings:
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...