ios - 多用户共享一台设备时使用指纹登录 iOS 应用程序

标签 ios iphone authentication fingerprint touch-id

我们有一个要求,需要使用指纹登录我们的应用程序。我们确实了解 Apple touch id 可用于身份验证目的,并且仅在响应中返回成功或失败。

但是,在我们的示例中,一台 iPhone 设备将由 5 到 8 个用户共享,我们需要为每个保存的指纹映射一个唯一的 userId 来识别用户。

是否有任何方法可以将用户 ID 与保存的指纹进行映射(从 api 返回的任何唯一编号,如 Fingerprint1、Fingerprint2 都可以)?

或者是否有其他解决方案可以使用生物识别数据登录我们的 iOS 应用程序?

我们不想添加额外的指纹扫描仪设备。

最佳答案

不,您无法在 iOS 中实现此目的。据苹果公司介绍,生物识别技术

Touch ID doesn't store any images of your fingerprint. It stores only a mathematical representation of your fingerprint. It isn't possible for someone to reverse engineer your actual fingerprint image from this mathematical representation. The chip in your device also includes an advanced security architecture called the Secure Enclave which was developed to protect passcode and fingerprint data. Fingerprint data is encrypted and protected with a key available only to the Secure Enclave. Fingerprint data is used only by the Secure Enclave to verify that your fingerprint matches the enrolled fingerprint data. The Secure Enclave is walled off from the rest of the chip and the rest of iOS. Therefore, iOS and other apps never access your fingerprint data, it's never stored on Apple servers, and it's never backed up to iCloud or anywhere else. Only Touch ID uses it, and it can't be used to match against other fingerprint databases.

现在进入要点。

现在iPhone X系列比其他系列更受欢迎,而且它们不支持Touch ID,而且每台设备只能存储一个Face ID。不像 Touch ID(使用多个手指)。

或者在指纹尝试错误后,设备将被锁定,并且您已提供密码,这也是每个设备一个。

关于ios - 多用户共享一台设备时使用指纹登录 iOS 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55332757/

相关文章:

iphone - 将 View 1 设置为 UIscrollview 中的默认 View 页面

ios - 允许后谷歌登录不重定向到应用程序

iphone - 在横向模式下报告不正确的边界

iphone - Objective C iOs 6 开发,设置正确的委托(delegate)以从第二个 View Controller 中调用方法

.net - 通过 WCF 进行身份验证的最佳方式是什么?

ios - 以编程方式创建的 UITextView 不再与 iOS 9 一起滚动

ios - 发送命令到斑马打印机xcode

iphone - 从 MapView 移除 MKAnnotation

angular - 隐藏基于 Authentication Angular 2 的链接

java - YouTube JAVA API 中的错误 OAuth 2.0