Re: [squid-users] access to a website for specific users

From: <Manjunath.Sangappan@dont-contact.us>
Date: Thu, 3 Jun 2004 15:17:14 +1000

Thank you so much for getting back on this quickly.

We do have inidividual user account that uses proxy_auth to get access to
internet. This is done to keep track of users internet usage. Requirement
is to get only a couple of users to access a website that was blocked for
everyone.

I finally managed to resolve the issue. I did managed to find some info
related to this in the archives.

In summary, I edited squid.conf file with the below entries

acl BlockedSites.other url_regex -i
"/usr/local/squid/etc/BlockedSites.other"
acl userlist proxy_auth user1 user2
http_access allow userlist BlockedSites.other
http_access deny BlockedSites.other

Basically I created another blocklist wiht BlockedSites.other and added the
list of user to userlist and then allowed access to the list for the site,
while denying everyone.

Hope I am clear.

                                                                           
             "Muthukumar"
             <kmuthu_gct@hotma
             il.com> To
                                       <squid-users@squid-cache.org>,
             03/06/2004 01:59 <Manjunath.Sangappan@unitedkfpw.com
             PM .au>
                                                                        cc
                                                                           
                                                                   Subject
                                       Re: [squid-users] access to a
                                       website for specific users
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           

> Since we are using DHCP I cant allow access based on IP address.

We can not give the restriction on sited to the users with DHCP IP's based
one.
There is two way to give the restriction if you are using proxy
authentication method.

1. Using the arp (machine address control). You have to successfully
compile the squid with --enable-arp-acl configure option.
we can control the users over the DHCP ip's

2. Using the authentication methods. Give the specific users to every one
in the network. It will be helpful to do the restriction.

> I can add the website to the block list to block, but I need to provide
> access to some set of users.

If you do anyone of the above one,we can accomplish this.

Regards,
Muthukumar.

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454 - Release Date: 5/31/2004
Received on Wed Jun 02 2004 - 23:23:04 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT