I want to block an app from connecting to a specific website using the hosts file. How can I do that?

Is something like this possible:     foo.com:spotify

1 Answer 1


The hosts file is used by the system and can't be used to restrict access for specific apps.

See I'm trying to block game "X" from accessing the internet including updating for alternative software which is able to block specific apps from accessing specific sites.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .