Re: [squid-users] Allowing only specific internet sites

From: Tesla 13 <tesla1313@dont-contact.us>
Date: Wed, 29 Jan 2003 14:55:14 -0500

This should do:

acl user1ip src 192.168.0.10
acl user1destination dstdomain www.mysite.com

http_access allow user1ip user1destination
http_access deny all

If there are a lot of domains, you can put them in a file one at a line.
Then use something like this:

acl user1destination dstdomain "/path/to/user1destination"

Tesla

>From: "Narozny" <narozny@isolution.co.za>
>To: <squid-users@squid-cache.org>
>Subject: [squid-users] Allowing only specific internet sites
>Date: Wed, 29 Jan 2003 20:24:11 +0200
>
>Hi everyone
>
>I would like to setup a acl to block access to all internet sites
>for a specific user, and only allow access to specific sites.
>
>I would like to block one user (ip): 192.168.0.10
>This user must only be allowed to acces two internet sites:
>http://196.25.1.1 and http://www.mysite.com
>
>is this possible..and how would one do it?
>
>Appreciate any feedback.
>
>Thanks
>Narozny

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
Received on Wed Jan 29 2003 - 12:55:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:58 MST