O
O
olehpratsko2016-12-26 23:13:40
iOS
olehpratsko, 2016-12-26 23:13:40

How to store sensitive data?

I ask for help in finding the best solution to the following problem.
There is a predefined list of products. You can click on products and earn points. Points can also be purchased.
How good is UserDefaults for storing scores? I read that UserDefaults is not the safest way to store sensitive data, is that true?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2016-12-26
@olehpratsko

with a strong desire and jailbreak, UserDefaults can simply be edited with pens.
therefore, if this is an offline application, then you can store it there, but not explicitly.
can also be stored in a keychain.
in general, it is necessary to decide what is the audience and how critical is the change of this information.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question