LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   squid still able to download exe (http://www.linuxquestions.org/questions/linux-security-4/squid-still-able-to-download-exe-4175432812/)

cheesewizz 10-17-2012 11:00 PM

squid still able to download exe
 
Hi

I just wondering why my squid proxy server can able to download exe even i blocked it there is some site that exe is blocked once user try to download it but there is some site they can able to download exe.



please anyone can help me

thanks

bathory 10-18-2012 03:02 AM

Hi,

Without squid.conf it's hard to guess what's wrong.

Regards

cheesewizz 01-22-2013 05:28 PM

Hi bathory

sorry for delayed response

here is my config

acl exefile urlpath_regex -i (.*)\.exe$
http_access deny exefile


some executable i can able to download
for exmaple the java
if i browse to the official website then i click online or even offline
the apps will prompt it unlike other executable is totally blocked.


Thanks

bathory 01-23-2013 02:24 AM

Quote:

some executable i can able to download
for exmaple the java
if i browse to the official website then i click online or even offline
the apps will prompt it unlike other executable is totally blocked.
Doh, just tested your code here and it works as expected.
I.e. it blocks downloading the jre exe files from the oracle/java download page


All times are GMT -5. The time now is 11:52 PM.