user198725878
user198725878

Reputation: 6386

Store information inside keychain

I would like to know, how much amount of data can be stored inside the iOS key-chain?

When refer online, i can see the urls which talks about storing username and password. not storing the db inside.

Please let me know, can we store db inside the keychain? how to store the db more securely.

Help me up

Upvotes: 1

Views: 602

Answers (1)

ckhan
ckhan

Reputation: 4791

No, it's not intended as a general-purpose secure datastore. From the iOS App Programming Guide (emphasis mine):

Keychain Data

A keychain is a secure, encrypted container for passwords and other secrets. The keychain is intended for storing small amounts of sensitive data that are specific to your app. It is not intended as a general-purpose mechanism for encrypting and storing data.

What you probably could do is store the data in more conventional places, and secure the decryption key in the keychain.

Upvotes: 2

Related Questions