Using the steps described for setting access control for a server instance (see Setting Access Control for a Server Instance), do the following:
Access the Server Manager for the server instance.
On the Preferences tab, click the Administer Access Control link.
Select the entire server from the drop-down list in the Select A Resource section, and click Edit.
Create a new rule allowing read and execute rights to all.
This means that if a user wants to add, update, or delete a file or directory, this rule does not apply and the server searches for another rule that matches.
Create another new rule denying write and delete rights to all.
Click the X link to create a customized expression.
Enter the days of the week and the times of day to be allowed.
For example:
user = "anyone" anddayofweek = "sat,sun" or(timeofday >= 1800 andtimeofday <= 600) |
Click Submit to save your changes.
Any errors in the custom expression produce an error message. Make corrections and submit again.