FW: [squid-users] download block !

From: Daniel Palmer <DanielPalmer@dont-contact.us>
Date: Tue, 21 Oct 2003 15:34:21 +1000

Adam Aube wrote:
>> It's very simple:
>>> acl MyDenyMIME urlpath_regex -i \.exe \.mov \.mpg \.mp?

>> you also need $ after the extension

> That is a good suggestion; though not essential, it does cut down on
> the
> false-positive rate.

The other downside to a $ on the end means users can stick a ? on the
end of most requests to bypass it.. (I use this myself to bypass the
block on my own proxy.. Fortunately no one has thought of trying that
yet..)

Then again - I guess something like urlpath_regex -I
\.(exe|mov|mpg|mp?)[?]$ would prob fix that...

Daniel
Received on Mon Oct 20 2003 - 23:34:24 MDT

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