简体   繁体   English

iOS“数据保护”是否取决于用户密码设置?

[英]iOS “Data Protection” depends on user passcode set or not?

When developing iOS Apps one can chose to add the Capability "Data Protection", which then offers more "protection". 开发iOS应用程序时,可以选择添加功能“数据保护”,然后提供更多的“保护”。

What, after a lot of searching and reading, is still unclear to me: will the files declared to be secured with "complete protection" be encrypted even if the user doesn't set a passcode? 经过大量搜索和阅读后,我仍然不清楚什么:即使用户未设置密码,声明为“完全保护”安全的文件也会被加密吗? Every thing I found always somehow involves the passcode of the user. 我发现的每件事总是以某种方式涉及用户的密码。 I need to have things encrypted even though the user has no passcode set. 即使用户未设置密码,我也需要对事物进行加密。

Thx in advance! 提前谢谢!

From the iOS documentation ( Protecting Data Using On-Disk Encryption ): 从iOS文档( 使用磁盘加密保护数据 ):

Data protection is available on most iOS devices and is subject to the following requirements: 大多数iOS设备上均提供数据保护,并且必须满足以下要求:

  • The file system on the user's device must support data protection. 用户设备上的文件系统必须支持数据保护。 Most devices support this behavior. 大多数设备支持此行为。
  • The user must have an active passcode lock set for the device. 用户必须为设备设置一个活动密码锁。

I'd say the 2nd bullet point answers your question. 我想说第二点要回答您的问题。

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

相关问题 如果用户禁用密码,如何应对iOS数据保护? - How to react with iOS Data Protection if a user disables their passcode? 强制用户在iOS中设置密码和屏幕超时 - Force user to Set Passcode and Screen Timeout in iOS 您是否可以要求用户为iOS应用设置设备密码? - Can you require that a user have a device passcode set for an iOS app? 以编程方式检查是否在iOS 7上设置了密码锁 - Programatically Checking if a Passcode Lock is Set on iOS 7 iOS上的数据保护 - Data Protection on iOS 用户锁定设备后具有数据保护功能的iOS访问文件 - iOS access file with data protection after user locks a device 如果尚未启用用户密码锁,我如何使用iOS磁盘加密保护数据? - How can I protect data using iOS on-disk encryption when the user passcode lock has not been enabled? 有没有办法在 iOS 钥匙串中使用 Touch ID 但不提示输入用户密码? - Is there a way to use Touch ID with the iOS Keychain but not prompt for the user passcode? 如何在关机或用户在iOS中输入错误密码时运行代码 - How to run code on shutdown or when user enters wrong passcode in iOS 可以使用设备密码向 iOS 应用程序验证用户身份吗? - Is it OK to use device passcode to authenticate user to an iOS app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM