How to block a program from accessing the internet
A firewall is a security system designed to monitor and control incoming and outgoing network traffic based on predetermined security rules. You can think of it like border security: guards check everyone who enters or leaves a country, and sometimes deny entry to those who might pose a threat. Similarly, firewalls block programs from accessing the internet to prevent unauthorized access, malware, and other security risks that could harm your system.
By using a firewall to block a program, you can prevent online apps from automatically updating and potentially causing problems with your software. You can also stop gaming platforms from letting your children play online with strangers without supervision. Blocking apps with a firewall is also a great way to get rid of intrusive ads from free apps or prevent apps from connecting to public Wi-Fi networks, which are often unsecured and pose a significant threat to your data and devices.
So, now that we’ve explained why it's important to block certain programs with a firewall, let us explain how to do it exactly.
How to block a program from accessing the internet in Windows 10 and 11
The most effective way to block a program on a Windows device is by using Windows Firewall. Here's a simple guide on how to do it:
- Open the Start Menu and go to the Control Panel.
- Click on Windows Firewall in the Control Panel.
- On the left panel, click on Advanced Settings.
- Click on Outbound Rules. This is where you can revoke internet access for any particular app.
- In the Actions panel on the right side of the window, click on New Rule.
- Here you can select the type of firewall rule you want to create. Choose Program and then Next.
- Select This program path and click the Browse button to find the executable file of the program you want to block. Then click Next.
- At this point, you can further specify how to block the app from the internet. Click Block the connection, and then click Next.
- Select when the rule applies (you can usually leave the defaults: Domain, Private, Public), then click Next.
- Give your rule a descriptive name. You can use the name of the program or write a brief note about what the program is for. Naming your rules helps you remember which apps you’ve blocked, enabling you to easily undo the block when it suits you.
- Click Finish.
That’s it - Your new rule is now active! You can view all of your rules in the Actions panel under Windows Firewall > Advanced Settings> Outbound Rules.