如何保护 Adobe Air Apps 中的敏感按键?
交付需要私钥才能与某些在线 API 通信的 Adobe Air 应用程序的最佳实践是什么?
Adobe Air 应用程序似乎是通过完整的源代码交付给用户的,因此在源代码中存储任何密钥将是一个非常糟糕的主意。我读过一些建议,说从服务器下载密钥,但这也有同样的问题,因为允许下载的 URL 必须存储在源代码中。另外,建议存储在加密的本地存储中对我来说也没有意义,因为我仍然必须以某种方式获取私钥。
What are the best practices for delivering an Adobe Air app that needs a private key in order to communicate with some online API?
Adobe Air apps seem like they are delivered to the user with full source code, so storing any keys within the source would be a really bad idea. I've read some suggestions saying to download the key from your server, but that has the same problem because the url allowing the download would have to be stored in source code. Also, suggestions saying to store in the encrypted local storage don't make sense to me either, because I still have to obtain the private key somehow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这是在任何应用程序中传递密钥的一个全球性问题,因为一切都可以进行逆向工程(可执行文件、IL 读取器等的拆卸)。
无论您做什么,如果客户端应用程序需要以某种方式“知道”密钥,那么用户就可以知道密钥。
假设:
解决方案可能是使用某种代理:
I think this is a global problem of delivering secret keys in any application, since everything can be reverse-engineered (disasamble for executables, IL readers, etc.)
No matter what you do, if the client application needs to somehow "know" a secret key, then the user can know the secret key.
Assuming that:
A solution might be to use some proxy: