如果我在 Android 上检测到已 root 的手机,如何禁用 Activesync?
我找到了几种检测已root的Android手机的方法,但我现在想使用该功能将其列入白名单(或黑名单) )使用 activesync 进行 root 的用户。
我在这里有哪些实施选项?
I found a few ways to detect a rooted Android phone, but I would now like to use that functionality to whitelist (or blacklist) users who root with activesync.
What are my implementation options here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ActiveSync 客户端使用帐户管理器 API 来同步内容,从而与
android.permission.MANAGE_ACCOUNTS
您应该能够执行诸如清除密码或至少禁用同步/删除帐户之类的操作。(删除帐户可能会导致所有信息被删除。客户通常不喜欢这一点)
但是..他们必须运行您构建的软件。那么是什么阻止他们卸载它呢?他们已经扎根了。
The ActiveSync client uses the account manager API to sync stuff, thus with the
android.permission.MANAGE_ACCOUNTS
you should be able to do stuff like clear the password or at least disable sync / delete the account.(Deleting the account can lead to all information being removed. Clients usually do not appreciate this)
But.. they'd have to be running software that you've built. So whats stopping them from uninstalling that? They've already got root.