On 14/07/11 20:35, Andrew Burger wrote:
HI There,

I'm running squid with user authentication.

Now I want to block a user from not accessing a website but I want to block 
them via there squid username login.

Most of the stuff I'm finding is by ip, but the problem is that won't work in 
my network infrastructure as the user can then just go to other computer enter 
it' details in and visit the blocked website.

Is it possible to block user's by username?

Yes.
  acl userX proxy_auth X

Then please see the documentation on how to use it:

http://wiki.squid-cache.org/Features/Authentication#How_do_I_use_authentication_in_access_controls.3F

You can also lock users to certain IPs with the ip_user_check / ext_file_userip_acl helper.

http://www.squid-cache.org/Versions/v3/3.2/manuals/ext_file_userip_acl.html

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.14
  Beta testers wanted for 3.2.0.9

Reply via email to