I’m doing an app that needs to connect with a login form to the web. I’d like to store these informations, my questions are:
A) Is it safe to store these data into NSUserDefaults?
B) Should I use CoreData?
C) Is there safer method?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CoreData is not secure unless you encrypt the data within it.
KeyChainAccess is apparently secure. There is some useful code to access it here:
https://github.com/ldandersen/scifihifi-iphone
You just need the two files under the the security folder.
You can then use these helper calls: