简体   繁体   English

当多个用户共享一个设备时,使用指纹登录iOS应用程序

[英]Login to iOS application using fingerprint when one device is shared by multiple users

We have a requirement where we need to login in to our application using fingerprints. 我们需要使用指纹登录我们的应用程序。 We do understand that apple touch id can be used for authentication purpose and only returns success or failure in the response. 我们知道apple touch id可用于身份验证,只返回响应中的成功或失败。

However, in our case one iPhone device will be shared by 5 to 8 users and we need to map an unique userId with each saved fingerprint to identify the user. 但是,在我们的情况下,一个iPhone设备将由5到8个用户共享,我们需要使用每个保存的指纹映射唯一的userId以识别用户。

Is there any way to map a userid with the saved fingerprint (any unique number returned from an api like Fingerprint1, Fingerprint2 will do)? 有没有办法用保存的指纹映射用户ID(从指纹1指纹返回的任何唯一号码,指纹2会做什么)?

Or Is there any alternative solution to login to our iOS application using biometric data? 或者是否有使用生物识别数据登录iOS应用程序的替代解决方案?

We dont't want to add an extra fingerprint scanner device. 我们不想添加额外的指纹扫描仪设备。

不,您无法知道生物识别中使用了多少和哪个手指,安全区域只会让您知道生物识别检查是否已通过。

No, You can't achieve this in iOS. 不,你无法在iOS中实现这一点。 According to Apple about biometric 据Apple介绍生物识别

Touch ID doesn't store any images of your fingerprint. Touch ID不会存储指纹的任何图像。 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. 您设备中的芯片还包括一个名为Secure Enclave的高级安全架构,该架构是为保护密码和指纹数据而开发的。 Fingerprint data is encrypted and protected with a key available only to the Secure Enclave. 指纹数据使用仅可用于Secure Enclave的密钥进行加密和保护。 Fingerprint data is used only by the Secure Enclave to verify that your fingerprint matches the enrolled fingerprint data. 指纹数据仅由Secure Enclave用于验证指纹是否与登记的指纹数据匹配。 The Secure Enclave is walled off from the rest of the chip and the rest of iOS. Secure Enclave与芯片的其余部分以及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. 因此,iOS和其他应用程序永远不会访问您的指纹数据,它永远不会存储在Apple服务器上,并且它永远不会备份到iCloud或其他任何地方。 Only Touch ID uses it, and it can't be used to match against other fingerprint databases. 只有Touch ID使用它,它不能用于匹配其他指纹数据库。

Now come to main point. 现在来到主要观点。

Now days iPhone X series is more popular than other, and they don't support Touch ID, also you can store only one Face ID per device. 现在,iPhone X系列比其他产品更受欢迎,它们不支持Touch ID,每个设备只能存储一个Face ID。 not like the Touch ID (with multiple finger). 不喜欢Touch ID(多指)。

Or after certain wrong try of finger print the device will locked and you have provided Passcode, This is also one per device. 或者在某些错误的指纹尝试后,设备将被锁定并且您提供了密码,这也是每个设备一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 一台设备上的多个用户可在iOS应用中使用Facebook登录 - Facebook login in iOS app for multiple users on one device 使用iOS SDK在同一设备上将多个用户登录到ParseServer - Login multiple users on same device to ParseServer using iOS SDK 唯一标识多个用户的iOS设备 - Uniquely Identify iOS device over multiple users 开发html应用程序时使用ios设备的本地源 - using ios device's local sources when developing a html application 处理ios中的多设备/多用户登录的推送通知 - Handle push notifications for Multiple Device/Multiple User Login in ios 如何在iOS应用程序中管理注册和登录用户? - How do you manage Register and Login users in iOS application? 当设备在LandscapeLeft中时,iOS应用程序在LandscapeRight中启动 - iOS application starts in LandscapeRight when device in LandscapeLeft 如何在具有多个登录用户的iOS设备上处理推送通知? - How to handle push notification on iOS device with multiple logged in users? 使用PhoneGap应用程序在iOS设备上以编程方式暂停 - Pause programmatically on iOS device using PhoneGap application 使用故事板的iOS 6应用程序进行Facebook登录 - Facebook Login with iOS 6 application using storyboard
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM