'Squid whitelist only for one auth user

To be honest, I'm not sure if this is easy to do (or possible for that matter) as I've combed over the squid docs and didn't find what I needed.

I am using a squid4 proxy with basic ncsa authentication. Here's what I would like to accomplish, I have two users on my proxy with ncsa authentication. I would like for one user to be able to access anything on the proxy (standard http_access allow), and the other user to be limited to a whitelist of one url that they can access.

Here is the authentication portion of my squid.conf:

auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
acl squid_users proxy_auth REQUIRED
http_access deny !squid_users
http_access allow squid_users
http_access deny all

Is there a way to http_access allow/deny for only one user with authentication, or am I missing something?

I don't really know what to do for this one factor so any help would be appreciated, thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source