In macOS, a firewall app like Little Snitch can block outgoing connections by both process and hostname (as opposed to just IP address), allowing fine-grained control over which network connections are allowed.
Is there any way to accomplish the same thing system-wide on Windows? That is, being able to decide what outgoing network connections are allowed based on the process name (or service name if it's a service) and the hostname of what it's connecting to? I'm willing to consider third party apps as well as external solutions like special router configurations or proxy servers.
Some potential avenues of accomplishing this I've found which I'm hoping people can speak to:
A third party firewall app, though at this point I'm not sure if any of them are capable of doing this
Performing filtering through a router, though I'm not sure how that would work with per-process filtering
Using a transparent proxy / http proxy, though again I'm not sure how that would work with per-process filtering and I'm not sure if Windows services can just choose to bypass it
Special configurations for Windows firewall, though it seems like it can only filter by IP address
Something else I don't know about yet!