Android 资产文件夹的安全

发布于 2024-09-12 15:57:39 字数 92 浏览 3 评论 0原文

资产文件夹只能由应用程序访问还是用户也可以看到它?对于我的应用程序,我想在本地存储上存储凭证证书和视频文件,但我不确定如何向用户隐藏这些项目。资产文件夹似乎是唯一的选择。

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

稀香 2024-09-19 15:57:39

应用程序的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文