{"id":131,"date":"2004-09-28T08:21:23","date_gmt":"2004-09-28T13:21:23","guid":{"rendered":"http:\/\/192.168.33.66\/wp\/?p=131"},"modified":"2004-09-28T08:21:23","modified_gmt":"2004-09-28T13:21:23","slug":"131","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=131","title":{"rendered":""},"content":{"rendered":"<p>Restricting Web Access By Time<\/p>\n<p>http:\/\/www.siliconvalleyccie.com\/linux-adv\/squid.htm<br \/>\n<!--more--><\/p>\n<p>Access control lists can be created with time parameters. Here are some quick examples. Remember to restart Squid for the changes to take effect.<\/p>\n<p>\nOnly Allow Business Hour Access From The Home Network<\/p>\n<p>#<\/p>\n<p># Add this to the bottom of the ACL section of squid.conf<\/p>\n<p>#<\/p>\n<p>acl home_network src 192.168.1.0\/24<\/p>\n<p>acl business_hours time M T W H F 9:00-17:00<\/p>\n<p>#<\/p>\n<p># Add this at the top of the http_access section of squid.conf<\/p>\n<p>#<\/p>\n<p>http_access allow home_network business_hours<br \/>\nOnly Allow Access In The Morning<\/p>\n<p>#<\/p>\n<p># Add this to the bottom of the ACL section of squid.conf<\/p>\n<p>#<\/p>\n<p>acl mornings time 08:00-12:00<\/p>\n<p>#<\/p>\n<p># Add this at the top of the http_access section of squid.conf<\/p>\n<p>#<\/p>\n<p>http_access allow mornings<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Restricting Web Access By Time http:\/\/www.siliconvalleyccie.com\/linux-adv\/squid.htm<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":0,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}