Re: [squid-users] how ccan i block aplication and media file downloading in squid

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Thu, 10 Jun 2004 14:04:59 +0530

< snip >
> acl mylan src 10.1.1.1-10.1.1.150/255.255.255.255
> acl dlb urlpath_regex -i \.exe$ \.mp3$ \.mov$ \.mpg$ \.mp?$ \.avi$ \.rm$
> \.wma$ \.mpeg$
< snip >

It is normal setting except the two acls dlb and mylan.

> http_access allow mylan
> http_access deny dlb

It will allow allow all requests of mylan (10.1.1.1-10.1.1.150/255.255.255.255) client requests.
It will allow the dlb acl as normally. So all users can access including the download files.

Change that line as

# Restrict the mylan users from downloading dlb files
http_access deny mylan dlb
http_reply_access allow all

It will work now.

Regards,
Muthukumar.

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 6/7/2004
Received on Thu Jun 10 2004 - 02:43:24 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT