Mitigating the risks of BYOD with mobile application management