Jun 29, 2011
iPhone/iPad アプリケーションでパスワードを管理する方法
iPhone/iPad アプリケーションで何がしかのアカウント情報を管理する場合に知っておくべき情報をメモ。 ざっくりまとめると、
- NSUserDefaults はセキュアでないのでパスワードを保存してはいけない。
- ユーザ ID は NSUserDefaults に、パスワードは Keychain に保存すべき。
- Keychain へのアクセスはオープンソースで提供されているラッパを使うと楽。
- GenericKeychain
- http://developer.apple.com/library/ios/#samplecode/GenericKeychain/Introduction/Intro.html
- Tomute’s Notes
- http://d.hatena.ne.jp/tomute/20091121/1258884514
- Simple iPhone Keychain Code
- http://log.scifihifi.com/post/55837387/simple-iphone-keychain-code
- ldandersen / scifihifi-iphone
- https://github.com/ldandersen/scifihifi-iphone/tree/master/security
- Simple iPhone Tutorial: Password Management using the keychain by using SFHFKeychainUtils
- http://gorgando.com/blog/technology/iphone_development/simple-iphone-tutorial-password-management-using-the-keychain-by-using-sfhfkeychainutils
- Implementing Application Preferences
- http://developer.apple.com/library/ios/#DOCUMENTATION/iPhone/Conceptual/iPhoneOSProgrammingGuide/Preferences/Preferences.html#//apple_ref/doc/uid/TP40007072-CH6-SW5
TrackBack ping me at
http://www.in-vitro.jp/blog/index.cgi/Apple/20110629_01.trackback
writeback message: Ready to post a comment.
