|
Search Tech-Forums - link takes you to our Forum's search page. Note: The following is only a text archive! To view the actual forum discussion, please visit our website at http://www.tech-forums.net Pages:1 Internet Usage/C++(Click here to view the original thread with full colors/images)Posted by: Insomniac 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 Posted by: jaeusm [QUOTE]Im just wondering how I would go about disabling internet access for only one program using C++.[/QUOTE] 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.[/QUOTE] 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. Posted by: Insomniac 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 Posted by: jaeusm [QUOTE]And I havent particularily noticed a firewall that allows you to just block windows[/QUOTE] 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.[/QUOTE] 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. Posted by: Insomniac thanks ill try that vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited. PPC Management vB Easy Archive Final - Created by Xenon |