<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I 've made a mistake so what i want is users can access Internet, except these two periods where they can access only few sites defined in the file.<div><br></div><div>I'll try next monday and come back here.</div><div><br></div><div>Thanks !<br><br><div>> To: squid-users@lists.squid-cache.org<br>> From: squid3@treenet.co.nz<br>> Date: Fri, 13 Nov 2015 21:42:59 +1300<br>> Subject: Re: [squid-users] ACL and http_access<br>> <br>> On 13/11/2015 8:31 p.m., Magic Link wrote:<br>> > What i want if it's possible is : Users can't access Internet, except<br>> > during two periods each day i 'll define. During these two periods,<br>> > they can access only a few sites i define in the file (basic url http<br>> > or https per line)I have to know if it's possible with Squid ? or<br>> > Squidguard ? Or not at all ? Thank you !<br>> <br>> The answer is "Yes".<br>> <br>> Anthony already gave you the config that does it.<br>> <br>> >> From: Antony.Stone<br>> >><br>> >> I would suggest (assuming your regex list is good) trying:<br>> >><br>> >> http_access allow localhost<br>> >> http_access allow network working_hours whitelist<br>> >> http_access allow network out_working_hours whitelist<br>> >> http_access deny all<br>> >><br>> >> The above should allow access from 10.2.0.0/16 to the sites in your regex list <br>> >> between the hours 09:30-10:30 and 17:30-18:30 M-F<br>> >><br>> <br>> <br>> Amos<br>> <br>> _______________________________________________<br>> squid-users mailing list<br>> squid-users@lists.squid-cache.org<br>> http://lists.squid-cache.org/listinfo/squid-users<br></div></div>                                    </div></body>
</html>