We have a scenario where access to a data source requires that the user be either directly connected to the company network or connected via a specific VPN.
Is there a way to make the app aware of the user's network connection so that it can show a warning if the network connection will result in access to this data source being blocked?