ios - *NSFileProtectionComplete* 到底是什么意思?
<p><p>我正在查看 <a href="https://developer.apple.com/library/prerelease/mac/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/index.html" rel="noreferrer noopener nofollow">NSFileManager</a>类引用,我对 <code>NSFileProtectionComplete</code> 的含义有点困惑。这是类引用所说的:</p>
<blockquote>
<p>The file is stored in an encrypted format on disk and cannot be read
from or written to while the device is locked or booting.</p>
</blockquote>
<p>这是否意味着文件以加密格式存储在磁盘上<em>总是</em>...无论设备是否设置了密码(或类似的安全机制)?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><h1>完全保护</h1>
<p>(NSFileProtectionComplete):类 key 受用户密码和设备 UID 派生的 key 保护。用户锁定设备后不久(“请求密码”>“就绪”10秒后),解密的类 key 被丢弃,这样该类的所有数据都无法访问,直到用户再次输入密码或解锁带有触控 ID 的设备。</p>
<p>问:德语 <a href="https://www.apple.com/de/business/docs/iOS_Security_Guide.pdf" rel="noreferrer noopener nofollow">https://www.apple.com/de/business/docs/iOS_Security_Guide.pdf</a> </p>
<p>=> 所以解密 key 仅在设备保持解锁状态时有效</p></p>
<p style="font-size: 20px;">关于ios - *NSFileProtectionComplete* 到底是什么意思?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/35454173/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/35454173/
</a>
</p>
页:
[1]