Android 资产文件夹的安全
资产文件夹只能由应用程序访问还是用户也可以看到它?对于我的应用程序,我想在本地存储上存储凭证证书和视频文件,但我不确定如何向用户隐藏这些项目。资产文件夹似乎是唯一的选择。
Is the assets folder only accessible to the app or can the user see it too? For my app I want to store a credential certificate and video files on local storage but I am not sure how to hide these items from the users. The assets folder seems like the only choice.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应用程序的
assets/
文件夹可供任何其他应用程序读取。虽然用户无法直接访问它,但只需要一些应用程序即可提供此类访问权限。据我所知,市场上有一个资产浏览器应用程序。另请注意,assets/ 文件夹在运行时不可修改,这听起来像是您可能正在寻找的东西。
The
assets/
folder of an application is readable by any other application. While the user does not have direct access to it, all it would take is some application to provide such access. For all I know, there is an asset explorer app out on the Market.Also, note that the
assets/
folder is not modifiable at runtime, which sounds like something you may be seeking.