nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

blocking file upload with squid

This is a discussion on blocking file upload with squid within the Proxy Servers forums, part of the Mastering Servers category; Dear All I want to block email attachments upload on internet through different mail servers. My requirement is that no ...


Go Back   nixCraft Linux Forum > Mastering Servers > Proxy Servers

Linux answers from nixCraft.


Proxy Servers Discussion about UNIX / Linux caching proxy servers, web proxy, reverse / content filtering proxy server.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-11-2009, 01:43 PM
Junior Member
User
 
Join Date: Feb 2009
OS: Linux
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ifti is on a distinguished road
Default blocking file upload with squid

Dear All

I want to block email attachments upload on internet through different mail servers. My requirement is that no user can send email attachments on yahoo, hotmail, gmail etc. I have RHEL-5 and squid 2.7. I have applied the undermentioned ACL but it in vain
ACL is

acl fileupload req_mime_type -i ^multipart/form-data$
http_access deny fileupload.

Waiting for ur valuable reply

Regards

Last edited by ifti; 26-11-2009 at 01:53 PM.
Reply With Quote
  #2 (permalink)  
Old 27-11-2009, 04:05 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Are you talking about email server blocking or squid server blocking?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 03-12-2009, 03:21 PM
Junior Member
User
 
Join Date: Feb 2009
OS: Linux
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ifti is on a distinguished road
Default

in our office user access internet through proxy server that is linux squid, my requirement is that if any user access emails like yahoo, hotmail and want to send (upload) any file with his email from yahoo or hotmail the squid should block the attachment being uploaded....
Reply With Quote
  #4 (permalink)  
Old 03-12-2009, 05:49 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

I don't think so it is possible with squid but take a look at the following directive:
Code:
request_body_max_size
squid : request_body_max_size configuration directive
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #5 (permalink)  
Old 23-02-2010, 05:50 PM
Junior Member
User
 
Join Date: Feb 2010
OS: Centos 5.3
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
satenderruhil is on a distinguished road
Default block uploading with squid

does this stop uploading over https also ?? i mean like gmail. which uses https://.
Uploading or attachment can't be stopped using
request_body_max_size Any solution for this ???
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Ubuntu Squid Proxy Configuration File /etc/squid/squid.conf rupalit Ubuntu / Debian 2 17-07-2009 02:50 PM
Ubuntu Linux File Upload / Creation Email Notification cristobalaz Ubuntu / Debian 9 18-06-2009 06:34 AM
Vsftpd control upload file size limits jaysunn CentOS / RHEL / Fedora 1 06-05-2009 11:29 PM
Problem blocking file ext downloads from Gmail in squid Roshu Networking, Firewalls and Security 1 24-08-2007 11:21 PM
Unable to do ftp upload using squid proxy Ashish Pathak Linux software 1 15-02-2005 10:47 AM


All times are GMT +5.5. The time now is 07:01 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38