Richard van Drimmelen wrote:
> 
> Dear squid users,
> 
> In our institute I see that one specific PC in a student room is used a
> lot for browsing 'nudies'. I'd like to restrict this browsing by
> combining three acl's, based on:
> 
>         - the IP address/subnetmask of the PC
>         - the various sites visited,
>         - browsing time (disallowed between MON-FRI 09:00-17:00)

By anding the criterias together

http_access deny STUDENT_PC COME_BACK_LATER DIRTY_LITTLE_BASTARD

This will deny access if
  it is from STUDENT_PC
  and time is COME_BACK_LATER
  and the URL matches DIRTY_LITTLE_BASTARD

Remember that access lines are searched top->down, and the first line
that fully matches dictates if the request is allowed or denied.

---
Henrik Nordstrom
Spare time Squid hacker

Reply via email to