I've been able to install squid on my Ubuntu Server with basic authentication and everything works perfectly. Recently the boss asked to block facebook access and I did it with no problems. Now it looks that he wants to give the users possibility to access during lunchtime...
Any ideas?
Taken from my configfile:
Squid supports time-base ACLS
Something like this should work:
The "FACEBOOK" acl is probably wrong, I'm just making this up as I go :). The above says to allow access to whatever matches the FACEBOOK acl, during the time period matched by the LUNCH acl. It then says to deny access to the FACEBOOK acl as a fall back. Rules are matched in order, so the lunchtime rule has priority.
Squid Wiki page on time ACLS
Hello friends my boss called and ordered me deny face facebook in working hours and allowed only in morning 08:00-09:00 so used this acl and apply
This works properly..