muthuvelutj
asked on
How to limit File Upload using Squid Proxy
Hi,
I have a LAN with Squid Proxy as the Proxy Server. My requirement is I want to block all the users with the file upload limit (say in webmails, they should not attach the files more than the allowed limit) and allow only specific users to have unlimited file upload.
Can any body give me a solution for this...
I am using Squid 2.6 STABLE 6 with Fedora Core 6
Thanks & Regards
Muthuvelu.T.J
I have a LAN with Squid Proxy as the Proxy Server. My requirement is I want to block all the users with the file upload limit (say in webmails, they should not attach the files more than the allowed limit) and allow only specific users to have unlimited file upload.
Can any body give me a solution for this...
I am using Squid 2.6 STABLE 6 with Fedora Core 6
Thanks & Regards
Muthuvelu.T.J
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
request_body_max_size - limit upload
reply_body_max_size - limit download
reply_body_max_size - limit download
ASKER
Hi Dineesh,
I know about the above said. but when you answer, you can be bit more elaborate just giving clues alone will not solve the purpose.
Moreover the above said directives are global directives and using it in ACL would be a tough task....or I am not sure how this global directives can be used in ACL's
agriesser gave me almost a right solution... I am in the phase of testing the same. Let me know post the results asap.
I know about the above said. but when you answer, you can be bit more elaborate just giving clues alone will not solve the purpose.
Moreover the above said directives are global directives and using it in ACL would be a tough task....or I am not sure how this global directives can be used in ACL's
agriesser gave me almost a right solution... I am in the phase of testing the same. Let me know post the results asap.
You can't use request_body_max_size in ACLs and that's exactly the problem.
What I know from the squid ML is that there were several discussions in it making this feature available for ACLs, but noone by now implemented it, so it's not part of the current stable release and AFAIK, it's also not in trunk.
What I know from the squid ML is that there were several discussions in it making this feature available for ACLs, but noone by now implemented it, so it's not part of the current stable release and AFAIK, it's also not in trunk.
ASKER
Hi agriesser,
Thanks for the Tip. My initial testing shows a success full sign. I just tweaked to suit to my environment and It works...
I am going to make it live tomorrow. Let me post again the results....
Thanks a lot.
Thanks for the Tip. My initial testing shows a success full sign. I just tweaked to suit to my environment and It works...
I am going to make it live tomorrow. Let me post again the results....
Thanks a lot.
ASKER
Thanks agriesser. It Works. Yet to make it live. Let me post the results once we go on live
ASKER
Thanks for the response.
I actully tried the above said.. i read about the scripsts by Henrick... But i have not tested as you said.. let me try and post the results in another 2 hours...
Thanks & Regards
Muthuvelu.T.J