Search squid archive

RE: block upload / attachment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] 
Sent: April-05-11 7:43 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux