Patent ID: 8910263

Claim:
A method performed by data processing apparatus, the method comprising: receiving a first request for access to a first network resource from a client device, the first network resource corresponding to one of a plurality of restricted resources accessible only by devices enrolled with a mobile device management system; determining whether the first request to access the first resource includes an address of a predetermined proxy server; determining that the first request to access the first resource does not include the address of the predetermined proxy server; determining that the client device is not enrolled with the mobile device management system based on determining that the first request to access the first resource does not include the address of the predetermined proxy server; preventing, based on determining that the client device is not enrolled with the mobile device management system, the client device access to the first network resource; providing to the client device, based on determining that the client device is not enrolled with the mobile device management system, a redirect to a mobile device management resource that is different from the first network resource; providing instructions for presentation of a user interface to the client device, the provided instructions relating to the mobile device management resource and comprising a user notification regarding a mobile device management profile; enrolling the client device with the mobile device management system, the enrolling comprising providing a copy of the mobile device management profile to the client device; receiving a second request for access to a second network resource from the client device, the second network resource corresponding to one of the plurality of restricted resource; allowing the client device access to the second network resource based on determining that the client device is enrolled with the mobile device management system; determining whether the mobile device management profile has been deactivated on the client device; and un-enrolling the client device from the mobile device management system based on determining that the mobile device management profile has been deactivated on the client device, the un-enrolling preventing the client device from accessing the plurality of restricted resources.