Access Control Examples
356
Netscape Enterprise Server Administrator’s Guide
Restricting Access Based on Time of Day
This example restricts write and delete access to the server during working
hours. You might use this example if you don’t want people publishing
documents at times when people might be accessing the files. This example
allows users to publish during the evening during the week (between 6:00pm
and 6:00am, Monday through Friday) and all time during the weekend.
To restrict access based on time of the day and day of the week, perform the
following steps:
1.
In Enterprise Server, choose Server Preferences.
2.
Click the Restrict Access link.
3.
In the section called Pick a Resource, select “The entire server” from the
Editing drop-down list. (You can select any resource.) Click Edit Access
Control.
The two-frame pages appear.
4.
Click New Line.
5.
Click the Deny link. In the bottom frame that appears, check Allow, and
then click Update.
6.
Click the “all” link in the top frame. Uncheck the Write and Delete access
rights.
This means that if a user wants to add, update, or delete a file or directory,
this rule won’t apply and the server will search for another rule that
matches. Click Update.
7.
Click New Line to create a rule that restricts the write and delete methods.
Check Allow for the second rule.
8.
Click the X link to create a customized expression. In the bottom frame,
type the following lines:
user = "anyone" and
dayofweek = "sat,sun" or
(timeofday >= 1800 and
timeofday <= 600)
Содержание 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 ...