> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Swift data protection

> [accordion] swift-data-protection
>
> File storage was observed that does not leverage the platforms strongest available protection mechanisms. Where feasible, data should be stored with `completeFileProtection` or `completeUnlessOpen`, ensuring that data is sufficiently protected at rest. By default, data is unlocked the first time the user authenticates after boot.\
> **Likelihood**: LOW\
> **Confidence**: HIGH\
> **CWE**: \
> \- CWE-311: Missing Encryption of Sensitive Data
> \
> **OWASP**: \
> \- A03:2017 - Sensitive Data Exposure
> \
> \- A04:2021 - Insecure Design


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.