How can I block a program from accessing the Internet? [duplicate]
I really want to know how can I prevent a program to connect to Internet with Windows 7 firewall?
I have smart security nod32 business edition installed on my computer.
should i do this job with nod or there is a way in Windows Firewall?
Basically you do this to prevent a program from connecting to the Internet:
From start menu, search for "Firewall" and select
Windows Firewall with Advanced Security
Choose Outbound Rules from the tree at the left.
Choose
New Rule...
from the menu at the right.-
New Outbound Rule Wizard
opens. This is really easy now:a. Select
Program
as rule type.b. Select the program's EXE file.
c. Choose
Block the connection
. Choose the profile this rule applies to. If in doubt, select all three.
Add the descriptive name (you may want to delete this rule later).
You're done.
You can prevent the program from accessing the internet through Windows Firewall.
Or if you know the address it tries to connect to simply add a rule in you hosts file and let it connect to your loopback address :-)
c:\windows\system32\drivers\etc
127.0.0.1 example.com
If you wish to use a 3rd party outbound firewall, this is a good one, they have a Free and a Paid version, Free one works well.
.