Re: Squid acl examples

From: Henrik Nordstrom <[email protected]>
Date: Sat, 29 Aug 1998 01:23:43 +0200

Irfan Akber wrote:

> I dont want particular users access urls ending with .zip,
> .exe, mpg etc. i.e I dont want a particular users (e.g
> 192.168.1.10 to 192.168.1.20) to download those files yet
> I want to be able to go to other sites.

acl local_users src 192.168.1.0/255.255.255.0

acl restricted_files urlpath_regex \.zip$ \.exe$ \.mpg$
acl restricted_users src 192.168.1.10-192.168.1.20/255.255.255.255

http_access deny restricted_users restricted_files
http_access allow local_users

---
Henrik Nordstr�m
Sparetime Squid Hacker
Received on Fri Aug 28 1998 - 18:35:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:46 MST