How to set squid proxy User download limit
Add the following line in the squid.conf file
User based download limit is tested on squid-3.0.STABLE20-2 and older versions.
acl Group1 proxy_auth user01 user02
acl Group2 proxy_auth user03 user04
reply_body_max_size 20480 KB Group02
reply_body_max_size 10240 KB Group01
reply_body_max_size 5120 KB all
For version squid-3.1 and higher , you can use IP based download limit option,
acl Group1 src 10.10.0.1-10.10.0.10/32
acl Group2 src 10.10.2.1-10.10.2.10/32
reply_body_max_size 20480 KB Group02
reply_body_max_size 10240 KB Group01
reply_body_max_size 5120 KB all
Time Based Download Limit,
acl WorkingHours time 09:00-18:00
reply_body_max_size 10240 KB WorkingHours