>>>>> "Rahul" == Rahul Torvi <[EMAIL PROTECTED]> writes:
Rahul> Hi All, Can anybody help me out in squid,
Rahul> I want to allows users only to certain sites but this has
Rahul> to be done thru user authentication and not IP based
Rahul> Group A -> Allowed certain site from database Group B ->
Rahul> Full Access GroupA & Group B -> Disallowed to certain sites
Rahul> from database
Untested solution, but this ought to work:
authenticate_program /path/to/program/you/use/to/authenticate
acl groupA proxy_auth "/etc/squid/userlist-A"
acl groupB proxy_auth "/etc/squid/userlist-B"
acl sitesallowedforA url_regex -i "/etc/squid/allowedsites-A"
acl sitesdisallowed url_regex -i "/etc/squid/blockedsites"
http_access deny sitesdisallowed
http_access allow groupA sitesallowedforA
http_access allow groupB
The order in the above is important!
Binand
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help