Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
View Poll Results: should i be an astronaut
yes 1 20.00%
no 1 20.00%
maybe 0 0%
shut the **** up 3 60.00%
Voters: 5. You may not vote on this poll

Closed Thread
Old 02-13-2007, 02:23 AM   #1 (permalink)
 
Newb Techie

Join Date: Feb 2007

Posts: 6

Insomniac

Default Internet Usage/C++

Hey. Im just wondering how I would go about disabling internet access for only one program using C++. Because Im interested in creating a fix for the users of windows Vista that are being forced to send information about the computer to the microsoft hq, and they have reserved the right to delete any file they dont want on your computer. whatever they deem unauthorized...so basically they will end firefox and other programs runnign on it. So yea what command or commands do I need to disable one program from accessing the internet
Insomniac is offline  
Old 02-13-2007, 10:06 AM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Quote:
Im just wondering how I would go about disabling internet access for only one program using C++.
Just use a firewall. You can specify which programs can/cannot access the internet using ZoneAlarm.

Quote:
so basically they will end firefox and other programs runnign on it.
That's very unlikely. Microsoft has put extraordinary effort into creating a development environment for Windows that's second to none. The .NET framework is absolutely immense (and quite innovative in .NET 3.0), as is the information available for programming Windows. Also, I have yet to find any development tools that are better than Microsoft's. In order for Microsoft to maintain its dominance in the market, they need third party developers to create software for Windows -- and they've done a remarkable job catering to us developers.
jaeusm is offline  
Old 02-13-2007, 10:29 AM   #3 (permalink)
 
Newb Techie

Join Date: Feb 2007

Posts: 6

Insomniac

Default

Its something that would be interesting for me anyways Id rather do it myself just for something to do. And I havent particularily noticed a firewall that allows you to just block windows, most will only deny windows access if they deny everything access. And Im not a huge fan of zone alarm which i have used before
Insomniac is offline  
Old 02-13-2007, 11:23 AM   #4 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Quote:
And I havent particularily noticed a firewall that allows you to just block windows
Windows contains several programs that access the internet. It is these programs that you wish to block. A firewall is very capable of doing that.

Quote:
Its something that would be interesting for me anyways Id rather do it myself just for something to do.
In that case, you could start by writing a program that monitors all of the ports on your machine. Log the activity (remote ip, remote port, process name, etc.) over the course of day or so and see what's going on. However, you'll probably only see several instances of svchost.exe, which is the generic process that runs services from dll's. You may still want to monitor these processes so that you can observe behavior. It will make it easier for you to research and identify specific microsoft services if you know the behavior and ports they use.
jaeusm is offline  
Old 02-17-2007, 01:28 AM   #5 (permalink)
 
Newb Techie

Join Date: Feb 2007

Posts: 6

Insomniac

Default

thanks ill try that
Insomniac is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On