Limit bandwidth per IP address in Squid
Solution 1:
If you want to limit the users based on IP addresses only, you don't need to implementation any authentication. You can use delay pools. This will limit the download speed of each IP/subnet according to the configured value(s).