Android 资产文件夹的安全性 [英] Security of Android assets folder
问题描述
assets 文件夹是只能由应用访问还是用户也可以看到?对于我的应用程序,我想在本地存储上存储凭证证书和视频文件,但我不确定如何向用户隐藏这些项目.资产文件夹似乎是唯一的选择.
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.
推荐答案
应用程序的 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.
另外,请注意 assets/
文件夹在运行时不可修改,这听起来像是您可能正在寻找的东西.
Also, note that the assets/
folder is not modifiable at runtime, which sounds like something you may be seeking.
这篇关于Android 资产文件夹的安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!