Re: [squid-users] Website Deny

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 14 Jul 2011 21:06:05 +1200

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
Received on Thu Jul 14 2011 - 09:06:17 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 14 2011 - 12:00:02 MDT