Forum Discussion
How to prevent users from disabling global proxy settings on fully managed Android devices?
I develop a Custom DPC application for fully managed devices, and I am planning to configure global proxy settings for Android devices through our EMM Console.
I want to restrict disabling these proxy settings, but I am unsure how to implement this restriction. I have reviewed the UserManager and DevicePolicyManager documentation but could not find any specific settings or policies to prevent users from modifying or disabling proxy configurations.
Would anyone happen to know how to implement the restrictions that would prevent users from disabling proxy settings on fully managed Android devices?
Thank you in advance for your help.
- LizzieGoogle Community Manager27 days ago
Hello YutaSaito,
Nice to meet you.
I've asked a colleague about this and there doesn't appear to be a direct call to proxy. So your best bet here could be to control the WiFi configuration through (ConfigureWifi).
You can explore this developer documentation here: https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#configurewifi
Have you tried this already?
Thanks,
Lizzie- YutaSaitoLevel 1.5: Cupcake26 days ago
Dear Lizzie
Thank you very much for taking the time to respond to my inquiry and for suggesting the WiFi configuration approach.
I understood that it is not possible to prevent users from changing proxy settings through direct API calls.
While the WiFi configuration option is helpful, it's slightly different from what we were hoping to achieve with proxy settings control.
Best regards,
YutaSaito- MoombasLevel 4.1: Jelly Bean26 days ago
The question more likely from my side is: Why/How can your users change proxy settings on the devices via API?
I mean API's are for admins (who knows what they do hopefully).
So you need to build your application/EMM Console with user rights/managment so that some users (like helpdesk) have limited access to functionalities than other (like system admin).
- YutaSaitoLevel 1.5: Cupcake26 days ago
Dear Lizzie ,
Thank you very much for taking the time to respond to my inquiry and for suggesting the WiFi configuration approach.
I understood that it is not possible to prevent users from changing proxy settings through direct API calls.
While the WiFi configuration option is helpful, it's slightly different from what I was hoping to achieve with proxy settings control.Best regards,
YutaSaito
Related Content
- 2 years ago