I'm about to go on a cruise, and the ship has its own WiFi. If things are the same as before, they allow a very small amount of data a day for free (beyond that requires purchasing data). To use this free data, I go to a certain web page and sign in. At this point, I have full internet access until I sign out.

So the question is, can I limit the WiFi data (or overall internet data) usage to only the things I specifically allow?

I know there are plenty of options for restricting data usage to WiFi only, but this is about restricting access while connected to WiFi.

I need to restrict 2 phones - a Galaxy S5 and S6 Edge.


  • Just be sure to shut off WiFi when you want it to be disconnected. That will solve your problem and extend your battery life.
    – SDsolar
    Jan 29, 2017 at 5:38
  • That certainly will save battery and guarantee that data isn't used, but I was looking for something that would work while I was connected to WiFi.
    – robg37
    Feb 6, 2017 at 22:58

1 Answer 1


If you don't have root access on the device, then you can use mobiwol to control the access various apps have to the Internet. Mobiwol creates a 'virtual' VPN connection on the device which allows control of the individual app connections. However, although the app starts when the device starts it is possible that there may be a brief period prior to Mobiwol executing in which apps could get Internet access despite the Mobiwol configuration.

Also there is NetGuard which can generally forbid an app access to WiFi or mobile data, permit an app access to WiFi or mobile data only when screen is on, regardless of above settings, keep it from accessing mobile data when roaming.

It's by far the best rated app in this section – and though I haven't tried it myself, I'd say it's the one to recommend if your device is not rooted.

If you have root access, there are more alternatives:

Remove the 'internet' permission using an app like Permissions Denied If your kernel supports IPTables, you can use an app such as AFWall+ to control which apps have access to the internet.

  • Sounds good. I'll take a look at those and see how they do.
    – robg37
    Jan 27, 2017 at 16:45
  • This worked perfectly. I just denied access to everything by default, and then I enabled apps as needed.
    – robg37
    Feb 6, 2017 at 23:01

You must log in to answer this question.

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