Score:0

Remove internet access from specific applications

lc flag

I'd like to remove internet access from certain applications like KeepassXC.

Score:3
pl flag

If you're using the snap of keepassxc, you can cut it off from the network:

snap install keepassxc
snap disconnect keepassxc:network
snap disconnect keepassxc:network-bind

I just tested this and launched keepassxc, and it ran fine, but I didn't exhaustively test all the features.

Note that any subsequent update to the application via snap refresh (which may happen in the background) may (will) likely re-connect these interfaces. So a workaround for this is to disable updates for this application. That means you get no application or security updates, unless you install them manually yourself.

snap download keepassxc
snap install ./keepassxc_*.snap --dangerous

(The --dangerous is to indicate you're happy installing a snap which may not have been vetted by the store. In this case it actually was, because you did the snap download yourself from the store immediately prior)

Then, proceed to disconnect the network as previously mentioned. By downloading and installing the snap "manually" (so-called "side-loading") this prevents the snap from updating, retaining your network disconnection state.

Luke Hall avatar
lc flag
Thanks, but this is not exactly what I'm looking for... Is there some sort of GUI firewall that I can see all my applications and set which one I'd like to have internet access to?
pl flag
Yes. There is a piece of software called OpenSnitch which can do this
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.