Use the Server Manager to select the server instance.
Choose the Preferences tab.
Click the Restrict Access link.
Select the entire server from the drop-down list in Pick a Resource and click Edit Access Control.
Create a new rule allowing read and execute rights to all.
If a user wants to add, update, or delete a file or directory, this rule will not apply and the server searches for another rule that matches.
Create another new rule denying write and delete rights to all.
Click 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) |
The message “Unrecognized expressions” is displayed in the Users/Groups and From Host fields when you create a custom expression.
Submit and Apply your changes.
Any errors in the custom expression will generate an error message. Make corrections and submit again.