是否有任何工具可以保护 APK 的内容免遭用户修改?

发布于 2024-08-24 20:34:49 字数 122 浏览 3 评论 0原文

我早些时候就在考虑这个问题,并想我应该问一下。

如果我制作了一个拥有大量资源的应用程序,那么什么会阻止某人提取和添加/修改我附带的资源?

不希望其数据被操纵的应用程序是否有任何类型的选项来保护自己?

I was thinking about this earlier and figured I'd ask.

If I made an application that has lots of resources, what would stop someone from extracting and adding/modifying the resources I ship with it?

Does an application that doesn't want its data manipulated have any sort of option to protect itself?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

意犹 2024-08-31 20:34:49

没有什么可以阻止某人提取资源——甚至有一个 API 可以做到这一点。但是,无法修改已安装的 APK 文件的内容,因为该文件是经过数字签名的。

具有 root 访问权限的人可以获取 APK 文件,修改其内容,然后重新签名,以达到自己的目的,至少在理论上是这样。

Nothing prevents someone from extracting resources -- there is even an API for that. However, there is no way to modify the contents of an installed APK file, because that file is digitally signed.

Somebody with root access could obtain the APK file, mess with its contents, and re-sign it, for their own purposes, at least in theory.

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