Limiting Access to Areas of Your Server
Chapter
8
Controlling Access to Your Server
189
Restricting Access to a URI (Path)
You can use a URI to control access to a single user’s content on the web server.
URIs are paths and files relative to the server’s document root directory. Using
URIs is an easy way to manage your server’s content if you frequently rename or
move all or part of it (for example, for disk space). It’s also a good way to handle
access control if you have additional document roots.
To limit access to a URI, using the steps described for setting access control for a
server instance, you would:
1.
Use the Server Manager to select the server instance.
2.
Choose the Preferences tab.
3.
Click the Restrict Access link.
4.
Enter the URI you want to restrict in the Type in the ACL name section.
For example:
uri=/my_directory
.
5.
Click Edit Access Control.
6.
Create a new rule to allows all users read access.
7.
Create another new rule to allow access for the owner of the directory.
8.
Uncheck Continue for both the first and second rules.
9.
Click Submit and Apply your changes.
A path for the URI is created relative to the document root. The entry in the ACL
file would appear as follows:
acl "uri=/my_directory";
Restricting Access to a File Type
You can limit access to file types on your server or web site. For example, you
might wish to allow only specific users to create programs that run on your server.
Anyone would be able to run the programs, but only specified users in the group
would be able create or delete them.
To limit access to a file type, using the steps described for setting access control for
a server instance, you would:
1.
Use the Server Manager to select the server instance.
2.
Choose the Preferences tab.
3.
Click the Restrict Access link.
Summary of Contents for NETSCAPE ENTREPRISE SERVER 6.0 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 18: ...18 Netscape Enterprise Server Administrator s Guide November 2001...
Page 26: ...26 Netscape Enterprise Server Administrator s Guide November 2001...
Page 48: ...Migrating a Server 48 Netscape Enterprise Server Administrator s Guide November 2001...
Page 50: ...50 Netscape Enterprise Server Administrator s Guide November 2001...
Page 146: ...146 Netscape Enterprise Server Administrator s Guide November 2001...
Page 242: ...242 Netscape Enterprise Server Administrator s Guide November 2001...
Page 294: ...294 Netscape Enterprise Server Administrator s Guide November 2001...
Page 332: ...Deleting a Virtual Server 332 Netscape Enterprise Server Administrator s Guide November 2001...
Page 378: ...378 Netscape Enterprise Server Administrator s Guide November 2001...
Page 396: ...Responses 396 Netscape Enterprise Server Administrator s Guide November 2001...
Page 414: ...Posting to JSPs 414 Netscape Enterprise Server Administrator s Guide November 2001...
Page 432: ...Further Information 432 Netscape Enterprise Server Administrator s Guide November 2001...
Page 444: ...444 Netscape Enterprise Server Administrator s Guide November 2001...