Re: [squid-users] Re: Allow access to just one site, blocking all the others.

From: Jose Ildefonso Camargo Tolosa <ildefonso.camargo_at_gmail.com>
Date: Thu, 22 Mar 2012 09:17:39 -0430

Hi all,

On Thu, Mar 22, 2012 at 6:08 AM, GarethC <gareth_at_garethcoffey.com> wrote:
> Hi Carlos,
>
> Yes you can achieve this by using an ACL (Access control list), for
> example...
>
> acl allowedsites dstdomain google.com
> http_access allow allowedsites
>
> This will allow users to connect to www.google.com (and any other subdomain
> of google.com), and it will deny access to all other websites.

right, and *only* google.com sites, so, for example, .gmail.com domain
would be blocked. It is hard to work with whitelists (on *any* proxy,
not just squid), because you have to whitelist the domain and all
required domains (for example, for yahoo.com you will need yahoo.com
and yimg.com). You will have to deeply explore the sites to
whitelist, using firebug or similar to get what sites you need to
whitelist in order to get them working correctly.

Ildefonso.
Received on Thu Mar 22 2012 - 13:47:46 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 22 2012 - 12:00:03 MDT