I need to block access to a site but only on some machines and only for certain times 
of day. Otherwise the site should be accessible.

This seems to work:

acl blocked_machines src 10.18.64.0/255.255.255.0
acl bad_site dstdomain badsite.com
acl bad_time time 09:00-17:00
http_access deny bad_site bad_time blocked_machines

Is that a bad way to do it? If it is, how to do it better?

Gary Martin


Reply via email to