Limit what apps use internet connection

Hi all,

Apologies for posting like this.

Below is a link to a question that i thought would be better off in the GPRS section, but now that I think about it, it is also relevent here and in many other places.

I need to be able to control what applications use my internet connection. I'd need to be able to check what sort of connection it is, e.g. LAN or Wireless or GPRS and if it is a connection that will cost i.e the gprs one, then somehow stop internet traffic for all apps bar the one i specify.

I thought that I would have to write some sort of firewall and embed it in my application. That way when I run it, it would block all other apps.

http://www.experts-exchange.com/Programming/Wireless_Programming/GPRS/Q_22071059.html

Thanks
LVL 1
nzfireAsked:
Who is Participating?
 
Kinger247Connect With a Mentor Commented:
There is an application I've seen that can do this, its url is http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3104&lngWId=10
But, the zip file does not contain all the files ... so, if you go to the ,ain website at http://www.visualsoft-net.de/   and select vb.net from the main menu, its on the fifth page (at the bottom). That version works in 2003 but needs a little work on the forms for 2005.

It basically is a small application to register which applications can go out of the firewall.

Good luck !
0
 
nzfireAuthor Commented:
Thanks Kinger247

This is something I can work with. Might be a case of not allowing anything including IE etc, and only allowing my app.

Will have to do a detection to see if I am connected to lan by a cable and if so, leave it on, otherwise, close everything up.

A bit of a hack around, but in theory it works...who knows about practically!
0
 
Kinger247Commented:
Sounds good to me :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.