Android Has a Built-In App “Firewall”

If you didn’t already know, Android has a built-in “firewall”, of sorts. It’s not a firewall in the sense that it can’t be used to filter traffic based on TCP/UDP ports, but what Android does let you do is limit the ability of apps to access the internet based on certain criteria. You can use this to stop apps from constantly trying to phone home even when they’re running in the background, and therefore potentially improve your battery life. You could also use this to block certain apps from accessing the internet altogether, and potentially improve your privacy. For example, let’s imagine you really like the Google Photos app, or Google Camera, but you don’t use their cloud, and don’t want their apps to automatically start uploading your pictures to their cloud without your knowledge or consent. You have the option of installing and using those apps, and just blocking their access to the internet altogether.

Edit: I must preface this entire post with the following however. Android is a more fragmented ecosystem than iPhones/iOS. The options available to any one person can vary wildly from one vendor, carrier or even one model of phone to the next, based on the modifications all those different involved parties have made to the operating system on its way from Google to the phone you hold in your hand. Do not be alarmed or confused in the event that your phone doesn’t have the options mentioned in this post.

To make use of this setting, follow these simple steps.

  1. Long press on the app’s icon, then click “App info”.
An image of an app menu on a phone.  The options for the Facebook app are displayed with "App info" circled in red.

2) In the settings for that app, click the option labeled “Mobile data and WiFi”.

The more detailed settings for the Facebook app are displayed.  "Mobile data & Wi-Fi" is circled in red.

3) Change the settings here as desired.

The "Mobile data & WiFi" settings area for the Facebook app, showing various toggles such as:
- Allow network access
- Background network access
- Wi-Fi data
- Mobile data
- VPN data

Just repeat these 3 simple steps for any apps that you wish to apply network restrictions to. This could help save you some battery life, or even improve your privacy, depending on your goals. There are a few things to remember about some of these settings however.

For one, disabling the “background data usage” for an app like Facebook will prevent things you share to Facebook from other apps from posting immediately. The Facebook app is smart enough to sort of queue up your posts and post them as soon as you actually open it so it’s allowed to use the internet. But if you share something to Facebook from another app and Facebook’s background data is turned off, then your post will not be made immediately, it will be made the next time you actually open the Facebook app.

I have also noticed that if you try to post a review for a location using Google Maps, the review may not post if you have its background data turned off because it seems that the window it opens for posting the review is seen as something else (possibly an embedded browser window?), and so Google Maps is seen as being “in the background”, so when you try to actually post the review Google Maps may give you an error about not being able to connect.

But, if you’re willing to spend a few minutes tweaking some settings and learning a little more about your phone, you can achieve greater privacy and potentially longer battery life.

Shameless Plug
Blogs I post and videos I make are a passion project. I release this content on free platforms because I think it’s valuable information and content that others can benefit from, but these things do take time, effort and research, so any contributions you are willing to make to compensate me for those things would be greatly appreciated. The best way to do that right now is through a direct donation via PayPal, or if you want to be a little more private, Bitcoin or Monero.

PayPal: https://paypal.me/gerowen

Bitcoin: bc1q86c5j7wvf6cw78tf8x3szxy5gnxg4gj8mw4sy2

Monero: 42ho3m9tJsobZwQDsFTk92ENdWAYk2zL8Qp42m7pKmfWE7jzei7Fwrs87MMXUTCVifjZZiStt3E7c5tmYa9qNxAf3MbY7rD

About Gerowen

I’m just a man. I’m probably the strangest combination of a person you’ll ever meet. I’m a country boy, and live in the woods of eastern Kentucky. I’m a veteran of the Iraq war and received an honorable discharge from active duty with the US Army. I’m a son, brother, husband, and a father. I take great pride in providing for my family and myself, and being as self sufficient as reasonably possible. I believe if you can do something yourself, if you can earn something by working for it, then you appreciate it more. I’m a staunch defender of the 2nd amendment and believe in individual liberty and responsibility. I love the outdoors; hunting, fishing, and hiking. I am also a tech nerd. When I was in the Army I was a 25B, which is basically a computer nerd in camo. I enjoy video games, building and working on PCs, CB radios and all things technological. I game primarily on Steam in Linux and on Nintendo Switch. I enjoy role playing games and a handful of shooters. Generally speaking I like playing alone, or if I'm online, it's usually some sort of role playing game.
This entry was posted in cybersecurity, Networking, privacy, Technology and tagged , , , , . Bookmark the permalink.

Leave a comment