Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

How to block exe,mp3 file downloads?

Jan 12 04 6:44 pm

Hello,
Is it possible to block exe,mp3 etc... file downloads using WinGate?
or can i specify something like.... do not allow if filesize exceeds 1 MB or something...

regards
Deep

Jan 12 04 7:32 pm

Hi,

I have the same problem.
Currently I have ADSL connection with 1MB download stream, but with limitation of standard volume capacity of 4 GB monthly, I have tried all what is possible to block mp3, mpeg, wav, zip etc... file downloads using Wingate 5.2.2.
How can I prevent users from downloading those files?

Best regards

Jan 13 04 12:13 am

Sherifzn wrote:I have the same problem.
Currently I have ADSL connection with 1MB download stream, but with limitation of standard volume capacity of 4 GB monthly, I have tried all what is possible to block mp3, mpeg, wav, zip etc... file downloads using Wingate 5.2.2.
How can I prevent users from downloading those files?


The easiest way is to set it up in the policies. You can refer to the following topic, where Larry describes the process in detail.

http://forums.qbik.com/viewtopic.php?t=612

Jan 13 04 12:42 am

Dear Pascal,

I did all what you want to say in the link that you provided http://forums.qbik.com/viewtopic.php?t=612

Even I have deleted the history files, but users are still able to download.

But When I did the following:
1. Transparent Redirection checked under WWW Proxy - Sessions tab
2. Default Rights - Are Ignored under the Policies tab.

No one were able to browse anything!!!

Jan 13 04 4:24 am

Sherif,

Can you tell if the Transparent Redirect or the Default Rights caused the problem?

Could you open GateKeeper - Options - Advanced - copy the WWW Proxy Server information and post it here?

Thanks!

Larry

Jan 13 04 5:16 am

Ok...cool
i managed to do it...
but i cant get it work userwise i gave it for everyone...

here is what i did...

WWW Proxy [properties] - Everyone - Ban List - Add - HTTP URL ends with .exe or any extention u want to block..

now the problem here is...
it works only when u give proxy address and port in proxy settings of IE or any other browser.

but when u dont put anything...everything works...
i still donno how to block access when anyone tries accessing withou putting the ip and port in proxy settings in their browser...

working on it for last 3 hrs but cant get it work...
Deep

Jan 13 04 6:29 am

but i cant get it work userwise i gave it for everyone...


OK create a User Group and add those users to it and apply the restriction to the user group instead of Everyone.

it works only when u give proxy address and port in proxy settings of IE or any other browser.


That would indicate that Transparent Redirection is not enabled for this service.

Larry

Jan 13 04 7:47 am

labull wrote:OK create a User Group and add those users to it and apply the restriction to the user group instead of Everyone.


actually i tried it..but it didnt help me out...actually i m too confuded between WWW Proxy policies and System Policies donno where to give the rights :(

labull wrote:That would indicate that Transparent Redirection is not enabled for this service.
Larry


yes i will try it tmrw and see whether it works or not...

thanks
Deep

Jan 13 04 7:52 am

deep wrote:actually i tried it..but it didnt help me out...actually i m too confuded between WWW Proxy policies and System Policies donno where to give the rights :(


Assign the rights to the WWW Proxy Policies.
Set that policy to "Ignore System Rights"

That will be the easiest, least confusing as well.

Jan 14 04 4:26 am

Dear Labull,

Here is the WWW proxy server information that you have requested as follows:

6.36 WWW Proxy server (WWW Proxy server)
6.37 ---------------------------------------------
6.38 Session Timeout: 60
6.39 Port: 80
6.40 Startup: Automatic start/stop
6.41 Binding 1: 127.0.0.1
6.42 Binding 2: 192.168.126.100
6.43 Access Rights: Defaults: may be used instead
6.44 Everyone - Restricted by ban list; request
6.45 Guest - Restricted by ban list; request
6.46 Start/Stop Rights: Defaults: may be used instead
6.47 Edit Rights: Defaults: may be used instead


Thank you.

Jan 14 04 7:06 am

Pascal noticed this

6.43 Access Rights: Defaults: may be used instead


This should be set to: are ignored.

Larry

Jan 14 04 6:45 pm

Deal Labull,

When I set the Default Access Rights to: are ignored.
No one can browse the any web page!

Thank you & best regards.

Jan 14 04 6:56 pm

Sherifzn wrote:When I set the Default Access Rights to: are ignored.
No one can browse the any web page!


Have you setup the appropriate rights on the WWW Proxy, though ? If you have no users/groups listed, nobody will be able to browse, because they will have no rights.

However, if you add a right for "Everyone" and then specify the different criterion for what you want blocked (E.g. for mp3 / exe / zip / etc.) then they will have access to everything BUT those.

Jan 18 04 8:56 am

Hi Deep,

It works fine for me here...all the clients cant download like *.exe, *.zip, & etc...

Try this:

1. Remove the "Everyone" user in the WWW Proxy Server at the Policies Section.
2. After removing it, pls click add button and choose "Guest" user.
3. After adding the "Guest" user, double click it...under the ban list tab. Pls add or choose "HTTP URL ends with .exe" to deny this type of file to be downloaded. Click OK
4. Use the default rights (system policies) "are ignored" and "user access to this service". Then click apply, ok, and save the configuration.

Test it and tell me what happen...

keeper30

Jan 18 04 7:33 pm

Thank you keeper30,

It works fine :)
Yeah... now I can stop them.

Guys, I appreciate your efforts.
Post a reply