Solved

Limit what apps use internet connection

Posted on 2006-11-23
3
147 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

829 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