Personal Firewalls: What “Allow This App” Changes
A photo-sharing app might need another computer to connect to it before it can send a picture. A personal firewall can block that incoming connection, even while the same computer browses websites normally. The difference is which conversation was allowed to begin.
A personal firewall, also called a host firewall, is software on an individual computer that applies rules to its network traffic. It helps decide which connections can reach programs on that computer and which connections those programs can make.
“Personal” describes where the protection operates. It doesn't mean the computer must belong to one person, and it doesn't make the software a firewall for every other device in the building.
How a Firewall Decides What Gets Through
A reply is different from a new request
When a browser requests a web page, it starts a conversation with a server. The server's reply comes back to the computer. A firewall can recognize that incoming traffic as part of a connection the computer requested.
Now consider the photo-sharing example. Another computer tries to start a new connection to the app. That is unsolicited inbound traffic: a request arriving from outside, rather than a reply to a conversation already started here.
Windows Firewall blocks unsolicited inbound traffic by default unless a rule allows it. It permits solicited replies. Outbound traffic leaves the computer, and Windows normally allows it unless a rule blocks it. These are Windows defaults; other firewall products or customized settings can behave differently.
This explains why normal browsing can work while an app that waits for incoming connections cannot. The firewall is making different decisions about different traffic, not deciding that the internet as a whole is either on or off.
An exception names what may connect
A firewall rule can refer to a program, a service, another computer's address or a port. A port is a number that helps direct network traffic to the right service on a computer.
In the example, an exception could allow the photo-sharing program to receive the connection it needs. The useful question is which program should accept connections, from where and in what network setting. A broad exception can permit more access than the task requires.
Microsoft's Windows Firewall documentation describes the rule conditions and three network profiles: domain, private and public. Those profiles let Windows apply different rules in different network contexts.
An app might be allowed to accept a connection under a private profile but not a public one. The private label is a choice about which rules apply. It doesn't establish that every nearby computer is trustworthy.
A host firewall can also control traffic from a device on the same local network. Such traffic may never cross the network's outside boundary, where a separate network firewall sits. Putting the rule on the computer gives it a say in those connections, too.
- Block malware in real time on up to five devices.
- Browse privately on public Wi-Fi with the included VPN.
- Get an alert if your personal details turn up on the dark web.
Allowed to arrive isn't certified safe
Once the photo-sharing connection is permitted, the app still has to handle what arrives. An allow rule says that traffic fits the firewall's policy; it doesn't certify that every file is harmless or that the program has no security flaws.
Some firewalls can inspect aspects of traffic, but that visibility has limits, including when content is encrypted. The National Institute of Standards and Technology's firewall guidance explains why filtering connections is one part of protecting a computer. It isn't automatically the same work as scanning files for harmful software.
Windows includes a firewall that's enabled by default. Before allowing an app through, check which connection it needs and where it should be reachable. A photo transfer needs a working route to the right program. It doesn't need every program on the computer to become reachable.
What Does a Firewall Actually Protect You From?

Network Ports: How Numbers Sort Traffic Between Programs

Egress Filtering: Decide What Your Network Can Send Out

QUOTE:
"Amateurs hack systems, professionals hack people."
