简体   繁体   中英

iOS application secure client side data storage?

I'm developing an iOS game that needs to store the user's score. I don't want the user to be able to modify this score manually. Whats the best practice to doing this?

So far, I've thought of doing symmetrical encryption on the client side but it was brought to my attention that someone can decompile the key which is stored as plain text. I would like to stay away from using web services and keep it all on the client side.

PS - I am developing with Cocos2d-x in C++. If you have any library suggestions to implement your solution, that would be great!

好吧,您可以为密钥存储一些未存储的东西,例如当前设备的ID,但是历史表明没有什么是绝对安全的,但是值得尝试的攻击者值得吗?

只需将其存储在NSUserDefaults中即可。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM