23
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NSUserDefaultsはセキュアじゃない

Posted at

という記事がわかりやすかったのでご紹介。

要約すると以下の通り。

  • NSUserDefaultsは暗号化もされずにplistで保存してるだけ
  • JBされたら閲覧も変更もできてしまう
  • JBされてなくても中身は見れちゃう(iOS 8.3以降は出来なくなったかも)
  • 購入したアイテムはレシートの方を保存して、あとから復元できるようにした方がいい
  • それ以外のデータは以下のいずれかの保存方法が良い
    1. KeyChainを使う
    2. Secure-NSUserDefaults などを利用して暗号化してNSUserDefaultsに保存する
23
19
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?