Hi guardsman85,
I tried with your input but still i can able to download .mov files......
Main Topics
Browse All TopicsI want to block downloading .mov files from the below sites. I have tried to block with squid but it not working. Here is my squid code. Please check any thing need to add.
http://mediacast.sun.com/u
File Name: php-cc-screencast.mov
################# squid.conf #########################
acl Blockextension urlpath_regex -i "/etc/squidfiles/block/blo
http_access deny Blockextension
################# squid.conf #########################
blockextension file contain:
\.mov$
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
In your blockextension file, list it this way instead:
\.[Mm][Oo][Vv]$
Reference:
http://www.cyberciti.biz/f
Hi all experts,
The problem is if filename mention in URL means squid blocking the particular file extension downloading. If file name not mention in URL means squid not blocking it allowing to download.
(eg)
Squid blocking file download URL: http://www.edccorp.com/pro
(.mov file name mentioned in URL)
Squid not blocking file download URL: http://mediacast.sun.com/u
Hi stephenhoekstra,
I tried this but still i can able to download .mov file from this path.
URL: http://mediacast.sun.com/u
File name: php-cc-screencast.mov
acl x-type req_mime_type -i video/quicktime
acl x-type req_mime_type -i video/x-quicktime
http_access deny x-type all
http_access deny x-type1 all
Another option you might want to consider is setting up an free-to-use Untangle appliance as a transparent bridge between your router and internal network, then using it's Web Filter module to block file formats.
Untangle: http://www.untangle.com
Untangle Web Filter: http://www.untangle.com/We
Untangle Web Filter FAQ:
http://wiki.untangle.com/i
Hi mwecomputers,
Is there any other way?
Dansguardian content filter will rectify my problem?
I need to block extenson using squid or squid add-on. For untangle we need to setup a seprate server. if we forgot to switch on the untangle server or untangle server down means user can able to download blocked extension.
With all of the above ways, Squid is looking for the exact file to prevent from being accessed. The problem you are having is that is that Squid really doesn't work too well for embedded movie or flash files on a website.
I know under Untangle this can be prevented with the Web Filter.
I have not familiar with Dansguardian, however I found a link that might help:
http://www.linuxquestions.
Business Accounts
Answer for Membership
by: guardsman85Posted on 2009-09-15 at 05:11:57ID: 25333947
I was brushing up on my regex syntax and noticed that $ can sometimes match end of characters before line breaks. Maybe try the following instead.
ions.info/ reference. html
Ref: http://www.regular-express
Select allOpen in new window