Re: [squid-users] How can i block mp3,dat,exe files from downloading

From: Christoph Haas <[email protected]>
Date: Tue, 13 Jan 2004 09:57:59 +0100

On Mon, Jan 12, 2004 at 10:33:11PM -0800, Nilesh wrote:
> How can i Block only mp3, Dat , exe files from downloading

If you only want to check the file suffixes you can you ACLs with
regular expressions. However often enough it's complicated to find the
right syntax. People can easily add a '?' at the end and thus bypass
your security.

More secure would be checking for magic bytes also. But IMHO Squid does
not support that, yet.

 Christoph

-- 
~
~
".signature" [Modified] 3 lines --100%--                3,41         All
Received on Tue Jan 13 2004 - 01:58:20 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:05 MST