On Sat, Sep 3, 2011 at 6:58 PM, Hasanen AL-Bana <hasanen@xxxxxxxxx> wrote: > It could be possible with squid if you write some external acl helper > script which checks the IP address (or username) and decides when to > allow/deny access. > However, facebook is out of control now since the site switched to > HTTPS for most users ( or is it possible to intercept https traffic in > squid 3 ? ) > > On Sat, Sep 3, 2011 at 4:19 PM, Dennis Yurichev <dennis@xxxxxxxxxx> wrote: >> >> Hi. >> >> It is well-known how to block social network websites in /etc/hosts, >> squid, etc. But I don't want to block. I want to limit its usage and >> give all users in my company, let's say, 10 minutes per day to each such >> site or 30 minutes to group of sites like facebook, youtube, etc. Or, >> limit each user to one single visit to facebook.com per day. >> >> Is squid configurable to do this? If so, how? What I need? > May be a time based ACL will be helpful to your situation, which will allow users to access social networking sites after a particular time? Check out the wiki http://wiki.squid-cache.org/SquidFaq/SquidAcl#How_can_I_allow_some_clients_to_use_the_cache_at_specific_times.3F