IOS 7 software for each VPN application

I am developing an iOS 7 application and I would like to know if the "In VPN application" function is activated "manually" (for example, location services, where you can choose which application can and cannot), or I can configure it using code inside the application?

Looking around the network, I found very little information about this, and Apple’s announcement also showed nothing more clear ... I was hoping to invite a user to set up a VPN when he first opens the application and then when he is β€œoutside” of the internal Wi-Fi I would automatically activate it ...

+7
ios ios7 vpn
source share
2 answers

The information is still somewhat fragmentary, but from what I can say so far, there is something that the VPN providers will need to support, and will be allowed using configuration profiles, for example. through MDM. In the profile, you define your VPN configuration, as you can do today, and additionally specify which applications use VPN configurations. Applications will not need to be modified at all, and I do not assume that even they know that they are being tunneled. I still don't know if users will be allowed to configure this themselves, without a configuration profile. I don’t understand why there is no, except, perhaps, the desire to isolate ordinary users from the functions of "enterpriseisey".

I expect Apple to release a new version of iPhone Configuration Utility or Apple Configurator that will let you install all of this. If you have access to their developer's site, there is information about the XML keys in the configuration profile that include it, so that you could probably create a profile yourself without this tool, but without the support of VPN providers there is not much you can do. I do not know if any of the built-in virtual private networks supports it.

+7
source share

* Note. This is an example of a user payload. It must be modified to suit your VPN configuration and is supported by some VPN providers. This example uses the L2TP connection type. The new keys for Per-App VPN are VPNUUID and OnDemandMatchAppEnabled.

<dict> <key>PayloadDescription</key> <string>Configures VPN settings, including authentication.</string> <key>PayloadDisplayName</key> <string>VPN (VPN Configuration)</string> <key>PayloadIdentifier</key> <string>126b636d-38ce-4bb1-a211-5239e60bd4ab</string> <key>PayloadOrganization</key> <string></string> <key>PayloadType</key> <string>com.apple.vpn.managed.applayer</string> <key>PayloadUUID</key> <string>63e3f54a-e8bd-45fd-af18-5aadfed9dc9d</string> <key>PayloadVersion</key> <integer>1</integer> <key>UserDefinedName</key> <string>VPN Configuration #12345</string> <key>VPNUUID</key> <string>b78ee624-442d-4997-a77f-dc8245109716</string> <key>OnDemandMatchAppEnabled</key> <string>True</string> <key>VPNType</key> <string>L2TP</string> <key>EAP</key> <dict /> <key>IPv4</key> <dict> <key>OverridePrimary</key> <integer>0</integer> </dict> <key>PPP</key> <dict> <key>CommRemoteAddress</key> <string>ExampleServerHostname</string> <key>CCPEnabled</key> <integer>1</integer> </dict> <key>Proxies</key> <dict /> </dict> 

Additional information is available at: https://developer.apple.com/library/ios/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html

+7
source share

All Articles