不支持加密本地存储
我正在尝试使用此处的 as3corelib EncryptionKeyGenerator
包为移动应用程序创建一个安全数据库https://github.com/mikechambers/as3corelib/blob/master/src/com/adobe/air/crypto/EncryptionKeyGenerator.as
但是当我运行它时出现以下错误:
Error: EncryptedLocalStore is not supported on the current platform
at flash.data::EncryptedLocalStore$/setItem()
谷歌搜索后我发现这是因为手机不支持 ELS。有谁知道这个问题的最佳解决方案?我想我可以使用持久性管理器来存储信息,但我不确定这是最安全的方法。
I am trying to create a secure database for a mobile app using the as3corelib EncryptionKeyGenerator
package from here https://github.com/mikechambers/as3corelib/blob/master/src/com/adobe/air/crypto/EncryptionKeyGenerator.as
but when I run it I get the following error:
Error: EncryptedLocalStore is not supported on the current platform
at flash.data::EncryptedLocalStore$/setItem()
Googling around I see it is becaue the ELS is not supported for mobiles. Does anyone know of the best solution to this problem? I guess I could use the persistence manager to store the information but I am not sure this is the most secure method.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为你最好的选择是使用加密的 SQLLite 数据库进行研究。以下是有关此内容的一些信息:
http://cookbooks.adobe.com/post_AIR_Encrypted_SQLite_Database-16250.html< /一>
<一href="http://www.adobe.com/devnet/air/flex/quickstart/articles/encrypted_database.html" rel="nofollow">http://www.adobe.com/devnet/air/flex/quickstart /articles/encrypted_database.html
I think your best bet is to investigate using an encrypted SQLLite Database. Here is some info on this:
http://cookbooks.adobe.com/post_AIR_Encrypted_SQLite_Database-16250.html
http://www.adobe.com/devnet/air/flex/quickstart/articles/encrypted_database.html
EncryptedLocalStore
仅自 3.0 起在 Android 平台上的 AIR 上可用,因此您现在应该能够在移动设备上使用它;请参阅http://devgirl.org/2011/09/22 /flex-mobile-development-encrypting-data/ 为例。EncryptedLocalStore
is available on AIR on the Android platform only since 3.0, so you should now be able to use it on your mobile device; see http://devgirl.org/2011/09/22/flex-mobile-development-encrypting-data/ for an example.