If you want to restrict access to certain times of day why not just create two scheduled tasks on the server with the share? One task adds the student group to the share permissions in the morning, the second task removes it in the evening?