Re: [squid-users] ACLs

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 27 May 2008 00:15:46 +1200

Patrick G. Victoriano wrote:
> Good Day.
>
> Can someone help me how to configure this setup in the ACLs.
> I have a user (192.168.1.5) which I want to have access to a particular site (friendster.com) at a particular time (12:00-13:00).
> This means that user 192.168.1.5 can only browse friendster.com during 12:00 nn to 1:00 PM.
> Is this possible? If yes, how would the config would look like.
> Please help.
>

acl person src 192.168.1.5
acl lunch time 12:00-13:00
acl friendster dstdomain .friendster.com

http_access allow person lunch friendster
http_access deny person !lunch friendster

Amos

-- 
Please use Squid 2.6.STABLE20 or 3.0.STABLE6
Received on Mon May 26 2008 - 12:15:45 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT