On Thu, 4 Mar 1999, Simon Bryan wrote:
> We are trialling a system of allowing our students to use Webmail 
> (the main restriction being a lack of resources, rather than 
> phiosophical). We want them to only accesss webmail (hotmail 
> etc) from a couple of terminals. Is there a way in Squid to achieve 
> this. I have looked in the FAQ but could not see what I want....
> 
> IF IP is in approved list allow page otherwise deny. 
acl WEBMAIL dst 1.2.3.0/255.255.255.0 4.5.6.0/255.255.255.0
http_access deny !WEBMAIL
this will deny all except the class-C blocks 1.2.3.0/24 and 4.5.6.0/24 ...
the key is the "!"... denies anything not specified... 
Received on Wed Mar 03 1999 - 20:05:15 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:08 MST