iPhone 应用程序需要 VPN 的选项吗?
我正在考虑为我们的一个内部系统创建一个 iPhone 应用程序“前端”。
我怀疑这需要通过 Cisco VPN 运行(使用关键代码连接)。
在 iPhone 上执行此操作有哪些选项?
您是否需要使用 iPhone 以某种方式手动连接到 VPN,然后启动 iPhone 应用程序?
或者应用程序可以提示用户输入密钥代码,然后启动 VPN 会话吗?
I was thinking about creating an iPhone app "front end" for one of our internal systems.
I suspect this will need to run via a Cisco VPN (connecting with a key code).
What are the options to do this on the iPhone?
Do you need to manually connect to a VPN somehow using the iPhone and then start the iPhone app?
Or can the app prompt users to enter their key code and then start the VPN session?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不,(从 iPhone SDK 3.1.2 开始)SDK 不提供用于操作 VPN 连接的 API。用户必须手动连接到网络。
No, (as of iPhone SDK 3.1.2) there's no API provided by the SDK to manipulate VPN connections. The user will have to manually connect to the network.
虽然可能没有可用于操纵 VPN 本身的 API,但从 iOS 3.0 开始,企业至少可以强制通过 VPN 访问特定域内的主机,并且“VPN On Demand”可用于在给定的情况下打开 VPN。正在访问资源。如果没有企业部署工具,我怀疑你运气不好。
不过,听起来应用程序无法深入了解所发生的任何情况。
参考:http://support.apple.com/kb/HT1424
While there may not be an API available to manipulate the VPN itself, as of iOS 3.0 enterprises can at least enforce hosts within particular domains be accessed via a VPN, and "VPN On Demand" can be used to turn on the VPN when a given resource is being accessed. Without the enterprise deployment tools though, I suspect you're out of luck.
It doesn't sound like the application will be able to have any insight in to any of this happening, though.
Ref: http://support.apple.com/kb/HT1424
尝试 iSimplyConnect - 它支持按需拨号。
Try iSimplyConnect - it support Dial-On-Demand.