2012/9/26 Eliezer Croitoru <[email protected]>:
> On 9/26/2012 2:20 PM, Noc Phibee Telecom wrote:
>>
>> it's possible to put:
>>
>> acl fred proxy_auth fred
>> acl denied_all dstdomain all
>> acl allow_site dstdomain .example.com
>> http_access allowed  allow_site fred
>> http_access deny denied_all fred
>>
>>
>> correct ?
>>
>> thanks
>
> just use:
> http_access allow allow_site fred
> http_access deny all
He may want it to be:
http_access allow allow_site fred
http_access deny fred

Then Fred (and only Fred) is limited to only this website while all
the other users can browse to their hearts' content.
In the other example Fred would be able to browse to the one website
and everyone else to no website.

Regards,
Eli
>
> all is a basic acl embedded into squid sources.
>
> when you deny all it means all
> so first allow what you want specifically and then deny all just like that.
>
> Regards,
> Eliezer
>
> --
> Eliezer Croitoru
> https://www1.ngtech.co.il
> IT consulting for Nonprofit organizations
> eliezer <at> ngtech.co.il

Reply via email to