Block downloading big files
-
hello,
i want to give the possibility to my network users to download small files and to block the downloading big files (bigger then 200Mo for example)
how can i do this? thank you
-
First thing that comes to mind is using squid.
-
i think to traffic shaping but i don't now how can i do it??
-
Traffic shaping can only slow down traffic. You won't be able to tell what you are slowing. Traffic shaping can slow down connections after a configurable amount of time.
-
ok ;) i will see how can i do it with squid
-
Check Squid's reply_body_max_size directive.
-
it works :
i configure "services -> proxy server -> traffic mgmt -> maximum download size" i set 300 kilobytes,
i tray to downlod a file from a web site that have 417kB and the download is blocked :D