Re: Storing a password (iPhone)
Re: Storing a password (iPhone)
- Subject: Re: Storing a password (iPhone)
- From: Sidney San MartÃn <email@hidden>
- Date: Mon, 4 May 2009 16:20:48 -0400
You can use the iPhone's keychain (search for that term) to store passwords.
Start by taking a look at these two pages:
http://developer.apple.com/iphone/library/documentation/Security/Conceptual/keychainServConcepts/01introduction/introduction.html
http://developer.apple.com/iphone/library/documentation/Security/Reference/keychainservices/Reference/reference.html
On Fri, May 1, 2009 at 7:58 AM, Jelle De Laender
<email@hidden> wrote:
> Hi
>
> What is the best way to store a password on the iPhone?
> I can't take the MD5 hash because I need to be able to work with the
> original password.
>
> Should I create a custom class (with 2 strings) and save them with
> NSKeyedArchiver with the idea: nobody will read the files (it's impossible:
> except when you JailBreak) or what should you do?
> Maybe I can simply use the NSUserDefaults?
>
> Kind regards
> Jelle
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden