Displaying 2 results from an estimated 2 matches for "allowed_domain".
Did you mean:
allowed_domains
2007 Mar 26
2
How to limit a user to access a few sites.
Hi ,
I am now running squid with ncsa_auth.
I have bound ip addresses to usernames. So users now can access Internet
from their ips.
Now I want a few users to prevent from accessing all the sites. But Instead,
I want them to allow to access a few sites scuh as google.com,cnn.com,
bbc.com. I want to limit in that way.
I have wriiten below rules. But those users still can access all the sites.
2007 Mar 28
0
How to limit a user to access a few sites. (SOLVED)
...; >
> >
> > >
> > > I think you probably need to combine a few rules together.
> > > Consider the following
> > >
> > > acl ncsa_users proxy_auth REQUIRED
> > > acl ip_users external ip_user %SRC %LOGIN %DST
> >
> > > acl ALLOWED_DOMAINS url_regex -i google.com bbc.com cnn.com
> > >
> > > http_access deny !ncsa_users
> > > http_access deny !ip_users
> > > http_access allow ip_users ALLOWED_DOMAINS
> > > http_access allow ncsa_users ALLOWED_DOMAINS
> > > http_access deny all
>...