You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
2.2 Secure Implementation Recommendations. Mobile Security 2026
#1582
Accessibility Attributes: Always specify the strict accessibility attribute (kSecAttrAccessible) when creating or updating Keychain items:
kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly: Highly Recommended for background tasks or push notification handlers. The data is available after the user unlocks the device once, and is not restored to another physical device via backups.
kSecAttrAccessibleWhenUnlockedThisDeviceOnly: Use for foreground-only apps. The data is accessible only when the device is unlocked and is not backed up.
Avoid:kSecAttrAccessibleAlways (deprecated) and non-ThisDeviceOnly classes if you want to prevent migration of the credentials to other physical devices during backups.
Access Group Sharing: Limit Keychain sharing (kSecAttrAccessGroup) strictly to verified app suites from the same team using Keychain Sharing entitlements.
Keychain Backups: Ensure the kSecAttrSynchronizable attribute is set to false (default) unless explicit iCloud Keychain synchronization is required.
This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run bash scripts/install.sh install, then run the guard on your project before you submit. Questions or a correction? Reply below.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
kSecAttrAccessible) when creating or updating Keychain items:kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly: Highly Recommended for background tasks or push notification handlers. The data is available after the user unlocks the device once, and is not restored to another physical device via backups.kSecAttrAccessibleWhenUnlockedThisDeviceOnly: Use for foreground-only apps. The data is accessible only when the device is unlocked and is not backed up.kSecAttrAccessibleAlways(deprecated) and non-ThisDeviceOnlyclasses if you want to prevent migration of the credentials to other physical devices during backups.kSecAttrAccessGroup) strictly to verified app suites from the same team using Keychain Sharing entitlements.kSecAttrSynchronizableattribute is set tofalse(default) unless explicit iCloud Keychain synchronization is required.Source section. MOBILE-SECURITY-2026.md, 2.2 Secure Implementation Recommendations.
This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run
bash scripts/install.sh install, then run the guard on your project before you submit. Questions or a correction? Reply below.All reactions