Chapter 14, Controlling Access to Your Server
343
Restricting Access to Your Web Site
Restricting by hostname is more flexible than by IP address—if a user’s IP
address changes, you won’t have to update this list. Restricting by IP address,
however, is more reliable—if a DNS lookup fails for a connected client,
hostname restriction cannot be used.
The hostname and IP addresses should be specified with a wildcard pattern or
a comma-separated list. The wildcard notations you can use are specialized;
you can only use the
*
. Also, for the IP address, the
*
must replace an entire
byte in the address. That is,
198.95.251.*
is acceptable, but
198.95.251.3*
is not. When the
*
appears in an IP address, it must be the
right-most character. For example,
198.*
is acceptable, but
198.*.251.30
is
not.
For hostnames, the
*
must also replace an entire component of the name. That
is,
*.netscape.com
is acceptable, but
*sers.netscape.com
is not. When
the
*
appears in a hostname, it must be the left-most character. For example,
*.netscape.com
is acceptable, but
users.*.com
is not.
Setting Access Rights
You can set access rights to files and directories on your web site. That is, in
addition to allowing or denying all access rights, you can specify a rule that
allows or denies partial access rights. For example, you can give people read-
only access rights to your files, so they can view the information but not change
the files. This is particularly useful when you use the web publishing feature to
publish documents.
When you create an access control rule, the default access rights are set to all
access rights. To change access rights, click the Rights link in the top frame, and
then choose the access rights you want to set for a particular rule. The
following list describes each access right you can check.
•
Read
access lets a user view a file. This access right includes the HTTP
methods GET, HEAD, POST, and INDEX.
•
Write
access lets a user change or delete a file. Write access right includes
the HTTP methods PUT, DELETE, MKDIR, RMDIR, and MOVE. To delete a
file, a user must have both write and delete privileges.
•
Execute
access applies to server-side applications, such as CGI programs,
Java applets, and agents.
Содержание 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 ...