RE: [squid-users] block upload / attachment

From: Mohammad Fattahian <mfattahian_at_monexgroup.com>
Date: Wed, 6 Apr 2011 08:56:39 -0400

Thanks Amos,

The problem is when I use " request_body_max_size" it applies on all users.

I'm using " ntlm_auth" to authenticate our domain users, is there any way to limit a particular users to attach big files into their emails? (yahoo/gmail, .....)

Mohammad

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: April-05-11 7:43 PM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] block upload / attachment

 On Tue, 5 Apr 2011 16:34:22 -0400, Mohammad Fattahian wrote:
> Hi folk,
>
> I want to restric my users upload (Attachment) capacity.
>
> I'm using Squid Version 2.6.STABLE21
> This is one part of my configuration:
>
> acl UPLIMIT req_header Content-Length [5-9][0-9]{5,}
> acl UPMETH method post
>
> http_access deny group1 UPMETH UPLIMIT
>
> This blocks anything => 500 KB
> I just tested in Yahoo mail and it works but it does not work in
> Gmail. I
> understood the Gmail use CONNECT method to upload the files.
>
> Any suggestion?

 Take a read through:
  http://www.squid-cache.org/Doc/config/request_body_max_size/

 CONNECT is a tunnel containing a whole separate stream of HTTP requests
 and replies wrapped in SSL (aka HTTPS or https://).
 In squid-2.6 there is nothing which you can do about it short of
 blocking HTTPS entirely.

 Amos
Received on Wed Apr 06 2011 - 12:58:26 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 06 2011 - 12:00:03 MDT