UIPasteboard安全 [英] UIPasteboard security

查看:108
本文介绍了UIPasteboard安全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在打开应用程序时始终需要阅读的应用程序上存储信息.但是我不希望用户复制/转储/或编辑它.所以问题是:"UIPasteboard可以解决此问题吗?"安全吗?如果没有,还有什么适合使用.

I need to store information on application that always need to be read when open application. But I don't want user copy/dump/or edit it. So the question is : "Is UIPasteboard can solve this problem?" is it security? and if not, what else is suitable to use.

非常感谢您.

还有其他解决方案可以解决删除并重新安装应用程序吗?"

Is there have other solution that can solve "delete and reinstall application?"

推荐答案

UIPasteboard可以随时被覆盖,我不会称之为安全.

UIPasteboard can be overwritten at any time, and I wouldn't call it secure.

您可能要考虑加密和序列化数据.然后,当您需要访问它时,将其解密并读入内存.

You might want to consider encrypting and serializing the data. Then when you need to access it, decrypt it and read it into memory.

这篇关于UIPasteboard安全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆