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


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)
Optionally, create an opposite task to switch Sync off
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.
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.