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

How to block downloading exe,com or other exec.?

Hello,

we're running Astaro 4.015. The HTTP-Proxy works in User Authentication mode. Is it possible to configure the underlying squid in such a way, that i can block/deny downloading of executable files, e.g. *.exe, *.com, etc. from sites allowed to the proxy user? I assume, if it's possible, I have to hack the squid.conf manually, riight?

Greetings

Dirk  


This thread was automatically locked due to age.
Parents
  • Hi! 
    You can block these downloads by editing the squid.conf-default. The squid.conf File is overwritten everytime you restart squid. 
    You have to put in an "acl" like
    acl users proxy_auth user1 user2
    acl whatever urlpath_regex -i \.exe$
    the -i stands for not beeing case sensitive and the "\.exe$" is one out of the mime.conf - Table. 
    and then an http_access line
    http_access deny whatever users 
    for instance, to block downloading of ".exe" files for user1 and user2 .
    But be aware, that astaro doesn´t give support when you modify your conf - Files manually! 
    greetings
    Martin  
Reply
  • Hi! 
    You can block these downloads by editing the squid.conf-default. The squid.conf File is overwritten everytime you restart squid. 
    You have to put in an "acl" like
    acl users proxy_auth user1 user2
    acl whatever urlpath_regex -i \.exe$
    the -i stands for not beeing case sensitive and the "\.exe$" is one out of the mime.conf - Table. 
    and then an http_access line
    http_access deny whatever users 
    for instance, to block downloading of ".exe" files for user1 and user2 .
    But be aware, that astaro doesn´t give support when you modify your conf - Files manually! 
    greetings
    Martin  
Children
No Data