每个应用程序VPN编程的iOS 7
我正在开发一个iOS 7应用程序,我想知道每个应用程序VPN功能是否手动激活(如位置服务,您可以选择哪个应用程序可以和不可以)或者我可以通过应用程序中的代码进行设置吗?
I'm developing a iOS 7 app and i would like to know if the feature "Per app VPN" is activated "by hand" (like location services, where you can choose which app can and can't) or I can set it up by code inside the app?
环顾网络我发现很少有关于它的信息,苹果公告也没有明确说明......我希望在他第一次打开应用程序时提示用户进行VPN配置,然后,当他在内部Wi-Fi外部时,我会自动激活它...
Looking around the web I found very little info about it, and apple announcement did not make it any clear also... I was hoping to prompt the user for the VPN configuration when he first open the app, and then, when he is "outside" the internal Wi-Fi, I would automatically activate it...
信息仍然有点粗略,但从目前为止我所知道的是VPN供应商需要支持的东西,并且它将使用配置文件启用,例如通过MDM。在配置文件中,您将像今天一样定义VPN配置,此外,您还将指定哪些应用程序使用哪种VPN配置。应用程序根本不需要修改,也不会(我假设)甚至意识到它们正在被隧道化。我还不知道他们是否允许用户自己配置,没有配置文件。我不明白为什么不这样做,除了可能想要将普通用户与企业功能隔离开来。
Information is still somewhat sketchy, but from what I can tell so far its something the VPN vendors will need to support, and it will be enabled using configuration profiles, e.g. via MDM. In the profile you'll define your VPN configuration like you can do today, and additionally you'll specify which apps use which VPN configs. Apps won't be need to be modified at all, nor (I assume) even aware they're being tunneled. I don't know yet if they'll allow users to configure this on their own, without a config profile. I don't see why not, other than maybe wanting to insulate common users from "enterprisey" features.
我预计Apple将发布新版本的iPhone配置工具或Apple Configurator,允许您设置所有这些。如果您可以访问他们的开发人员站点,那么有关配置文件中的XML密钥的信息可以打开它,因此您可以在没有该工具的情况下自行创建配置文件,但如果没有VPN供应商支持,那么您将无法获得更多功能。去做。我不知道目前任何内置VPN是否支持它。
I expect Apple will release a new version of the iPhone Configuration Utility or Apple Configurator that will allow you to set all of this up. If you have access to their developer site there's information about the XML keys in the config profile that turn it on, so you could probably craft a profile on your own without the tool, but without VPN vendor support there's not much you'll be able to do. I don't know if any of the built-in VPNs currently support it.