Monday, March 25, 2019

wi fi - Restrict particular apps from syncing depending on current WiFi connection


Is there an app that will allow full sync functions to only occur when connected to particular white-listed WiFi and / or keep selected accounts from syncing when on other away / public / non white-listed WiFi routers?


Example being, when I am on my trusted WiFi connections to have full sync rights allowing Gmail and Facebook as well as other apps to function normally but when on a WiFi not white-listed only allow browsing or particular apps to access and sync?


I imagine this would be a firewall function however have yet to find one that distinguishes multiple WiFi connections from each other. If an app like this does not exist what code would be a good start to review and develop such a function.



Answer



I don't know how to realize that for "specific apps to sync". But using an app like , you should be able to globally switch sync on/off depending on whether you are connected to a specific WiFi. Basic structure for Tasker:



  1. Create a Task, name it e.g. "SafeWifiTask", and have it switch Sync on.
    (you can also add other jobs to this task which you want to perform on a "safe connection", all in this task)

  2. Optionally, create an opposite task to switch Sync off


  3. Create a Profile with the condition "WiFi Connected", and select your "safe network's" SSID. Assign it the "SafeWifiTask" created above, and optionally the "opposite task" as exit task.

  4. Repeat step 3 for other "safe network conditions" (Tasker doesn't know about an OR condition on profiles)


I've made the "exit task" optional in my example. The reason behind it is: If no exit task exists, Tasker automatically restores the "before" conditions, so you might be able to do without exit tasks.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...