This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

File blocking for web surfers

Hi @ all,

I have Version 4.012 ASL running and I would like to block users, who wants to download exe files for example.
With the version 3 it was no problem with squidguard, but where can I define a filter in the 4.012 Version.

Thanks for information,

Oliver  


This thread was automatically locked due to age.
Parents Reply
  • I tried to block directly URLs which includes exe or mp3, but it is not a satisfying solution.
    Because when an URL includes for example these extensions an is harmless, its blockes.
    Are there any other solutions please?  [:S]   
Children
  • Well, do you match for exe AT THE END, or just anywhere in the URL. There is a BIIIIG difference. I think you should read some documentation on PCRE. Search for "regular expressions tutorial" on google.

    Here's an example for exe:
    Code:

    ^(\w+://)?([\w|\d|_|\.|\-|/]*?)\.exe(\?.*)?$

     

    You can do the same for any other extension.