How to block exe,mp3 file downloads?

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

How to block exe,mp3 file downloads?

Postby Deep » 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
Deep
 
Posts: 8
Joined: Nov 27 03 6:48 pm
Location: India

Postby Sherifzn » 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
Sherif...
Sherifzn
 
Posts: 13
Joined: Jan 12 04 7:19 pm

Postby Pascal » 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
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby Sherifzn » 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!!!
Sherif...
Sherifzn
 
Posts: 13
Joined: Jan 12 04 7:19 pm

Postby labull » 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
WinGate Lurker
labull
WinGate Guru
 
Posts: 710
Joined: Sep 06 03 1:03 am
Location: Washington, DC - USA

Postby Deep » 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
Deep
 
Posts: 8
Joined: Nov 27 03 6:48 pm
Location: India

Postby labull » 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
WinGate Lurker
labull
WinGate Guru
 
Posts: 710
Joined: Sep 06 03 1:03 am
Location: Washington, DC - USA

Postby Deep » 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
Deep
 
Posts: 8
Joined: Nov 27 03 6:48 pm
Location: India

Postby Pascal » 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.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby Sherifzn » 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.
Sherif...
Sherifzn
 
Posts: 13
Joined: Jan 12 04 7:19 pm

Postby labull » 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
WinGate Lurker
labull
WinGate Guru
 
Posts: 710
Joined: Sep 06 03 1:03 am
Location: Washington, DC - USA

Postby Sherifzn » 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.
Sherif...
Sherifzn
 
Posts: 13
Joined: Jan 12 04 7:19 pm

Postby Pascal » 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.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby keeper30 » 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
keeper30
 
Posts: 34
Joined: Oct 07 03 10:57 pm

Postby Sherifzn » Jan 18 04 7:33 pm

Thank you keeper30,

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

Guys, I appreciate your efforts.
Sherif...
Sherifzn
 
Posts: 13
Joined: Jan 12 04 7:19 pm


Return to WinGate

Who is online

Users browsing this forum: Google [Bot] and 8 guests

cron