1. A method, comprising: analyzing a managed application to determine one or more policy settings for the managed application, wherein the managed application is to be made available for download to a mobile device, and wherein each of the one or more policy settings provides a constraint to be enforced by the mobile device prior to the managed application being provided access to at least one resource that is accessible through an access gateway; displaying, by one or more computing devices, a user interface that displays the one or more policy settings; receiving input via the user interface that creates or modifies an application management setting of the one or more policy settings, wherein the application management setting specifies how data associated with the managed application is to be processed by the mobile device in connection with the managed application; producing a policy file for the managed application that includes the application management setting; and providing the policy file such that the policy is available for download to the mobile device.