useDataProtection property
bool
get
useDataProtection
Sets the kSecUseDataProtectionKeychain
attribute for all Keychain operations.
This value defaults to true to enforce that MacOS Keychain items behave like iOS Keychain items. This prevents other applications from accessing or modifying items created by the current application.
Warning: This should not be disabled in production applications. This value is only exposed for testing. Disabling it lowers the security of your application and can cause secure storage to have unexpected behaviors.
Implementation
bool get useDataProtection;