Solved

Limit what apps use internet connection

Posted on 2006-11-23
3
148 Views
Last Modified: 2010-04-23
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
0
Comment
Question by:nzfire
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Kinger247 earned 500 total points
ID: 18015951
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
 
LVL 1

Author Comment

by:nzfire
ID: 18018418
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
 
LVL 10

Expert Comment

by:Kinger247
ID: 18018432
Sounds good to me :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question