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
<maill...@codingmammoth.com> 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 (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/s%40sidneysm.com
>
> This email sent to s...@sidneysm.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to