简体   繁体   English

如果我在Android上检测到植根电话,如何禁用Activesync?

[英]How can I disable Activesync if I detect a rooted phone on Android?

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. 我找到了几种方法来检测植根于Android手机 ,但是我现在想使用该功能将以activesync植根的用户列入白名单(或黑名单)。

What are my implementation options here? 我在这里有哪些实施选项?

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. ActiveSync客户端使用帐户管理器API来同步内容,因此,使用android.permission.MANAGE_ACCOUNTS您应该可以执行清除密码或至少禁用同步/删除帐户的操作。

(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. 他们已经扎根了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在有 root 权限的手机上使用 android.permission.SHUTDOWN? - How can I use android.permission.SHUTDOWN on a rooted phone? 如何在已扎根的android手机上以编程方式停止系统服务? - How can I stop a system service programmatically on a rooted android phone? 如何将文件从根目录复制到无根android手机的另一个目录中? - How can i copy a file from a rooted directory to another directory in a non rooted android phone prorammatically? 如何手动将GPS数据发送到Android手机上的“位置管理器”(已root) - How can I manually send GPS data to Location Manager on my android phone(rooted) 在有根 Android 设备上,如何打开 &lt; 1024 的端口? - On a rooted Android device, how can I open a port < 1024? 如何以编程方式检测 android 手机是否处于静音模式 - how can I detect whether the android phone in Silent mode programmatically 我可以在普通的无根手机上测试安卓系统应用程序吗? - Can I test android system apps on a normal un-rooted phone? 如何使用android java应用访问我已扎根的android手机的\\ data \\ data文件夹? - How do I access my rooted android phone's \data\data folder using android java app? 我可以在扎根的Android上截听音频吗? - Can I intercept audio on a rooted Android? 如何检测用户是否禁用GPS(Android - Play Services) - How can I detect if user disable GPS (Android - Play Services)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM