Excuse me for my English.
I am using WinGate 6.1.1 (Build 1077) + Kaspersky Antivirus 2.0 for Wingate + PureSight 2.0 for Wingate with trial 30 days licenses.
I need blocking all downloads.
System -> WWW Proxy Server -> Properties -> Policies -> Everyone -> Ban list -> Enable ban list -> Add -> This criterion is met if ->
HTTP URL ends with ".ace"
HTTP URL ends with ".arj"
..
etc.
All good work if HTTP URL ends with above extensions.
But if HTTP URL ends with for example
http://www.eserviceinfo.com/download.php?fileid=2270
Wingate do not block dowload this file (really *.rar).
I analyzed traffic between Wingate and client Internet Explorer with TCP/IP analizer and see some strings "Content-Disposition: attachment..."
in TCP/IP packets.
I tried used Advanced -> Specify which requests this recipient has rights for -> Add filter -> Add Criterion -> and try
HTTP Query string
HTTP Post data
HTTP Resource
contains -> "Content-Disposition: attachment"
but this do not work.
How can I configure Wingate to block this type file download ?