Home  >  Article  >  How to block internet access to apps in Windows 11

How to block internet access to apps in Windows 11

PHPz
PHPzforward
2023-04-14 18:46:142408browse

How to block Internet access to apps in Windows 11

To use Windows Defender Firewall to block apps from accessing the Internet in Windows 11, do the following:

  1. Single Hit the Start button or press the Windows key on your keyboard, then type windows defender firewall and click on the top result in the Start menu.

How to block internet access to apps in Windows 11

  1. When the Windows Defender Firewall window opens, click Advanced Settings on the left.

How to block internet access to apps in Windows 11

  1. Select Outbound Rules from the left panel and click Actions# on the right New Rule under ##.

How to block internet access to apps in Windows 11

    In the
  1. New Outbound Rule Wizard open here, for Rule Type , select Procedure, and then click the Next step button.

How to block internet access to apps in Windows 11

    Next, you can choose to block all programs or specific programs. To block a specific application, select
  1. This program path and browse to the location of the application's executable file. After entering the application path, click Next.

How to block internet access to apps in Windows 11

    Next, make sure
  1. Block Connection is selected and click the Next button.

How to block internet access to apps in Windows 11

    In the
  1. Profile section of the wizard, make sure all three options (Domain, Private and Public) and click the Next button.

How to block internet access to apps in Windows 11

    Enter a name for the firewall rule, such as
  1. Block Google and add a description. The name of the rule is required, but the description is optional. When finished, click the Finish button.

How to block internet access to apps in Windows 11

#With this rule enabled, your app should not be able to access the internet. In this example, Google Chrome has been blocked, preventing access to the Internet when you launch the web browser.

Attempting to access a website using Chrome while the Internet is blocked will result in an error as shown below.

How to block internet access to apps in Windows 11

How to disable application Internet blocking rules on Windows 11

If you have blocked an application from accessing the Internet, but want to grant access, Then yes. You need to disable outbound rules in the Windows Defender Firewall menu you created earlier.

To do this, use the following steps:

    Open the
  1. Start Menu, type Windows Defender Firewall, and then click Best Match result.

How to block internet access to apps in Windows 11

    In
  1. Windows Defender Firewall, click Advanced Settings on the left.

How to block internet access to apps in Windows 11

    In the next menu, press
  1. Outbound Rules in the left panel.
  2. Find the name of the rule you created earlier (you can sort by name), then right-click it and select
  3. Disable Rule.

How to block internet access to apps in Windows 11

    You can also select the outbound rule you created and disable or delete it from the
  1. Actions pane on the right .

How to block internet access to apps in Windows 11

After you disable or delete an outbound rule, the application you created for it will now connect to the internet.

Protect your Internet connection with Windows Firewall

The steps above should help you block Internet access to applications on your Windows 11 PC. If you decide to restore access, you can disable the rule - this will restore your internet connection. If you delete a rule, you will need to repeat the above steps to recreate it.

Windows Defender Firewall is part of the broader protection provided by Windows Security and is an integrated component designed to protect Windows PCs from malware. Windows isn't the only place you can block internet access - if you're an Android user, you can block websites on Android to help protect the device.

The above is the detailed content of How to block internet access to apps in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete