Guidance for handling sensitive data, authenticating users, encrypting correctly, and following Apple's security best practices on iOS.
The Keychain is the ONLY correct place to store sensitive data. Never store passwords, tokens, API keys, or secrets in UserDefaults, files, or Core Data.
| Value | When Available | Device-Only | Use For |
키체인 서비스, CryptoKit 암호화, Face ID 및 Touch ID를 사용한 생체 인식 인증, Secure Enclave 키 저장소, LAContext 구성, ATS(앱 전송 보안), 인증서 고정, 데이터 보호 클래스, 보안 코딩 패턴 및 암호화 구현을 포함한 iOS 보안 모범 사례입니다. 앱 보안 기능 구현, 개인정보 매니페스트 감사, 앱 전송 보안 구성, 키체인 액세스 보안, 생체 인증 추가 또는 CryptoKit을 통한 민감한 데이터 암호화 시 사용하세요. 출처: dpearson2699/swift-ios-skills.