1. A method, comprising: configuring a mobile device such that a managed application of the mobile device is able to be executed in accordance with policy information that defines a management framework for executing the managed application by at least: configuring, based on at least one first setting of the policy information, a private secure container, which is to be private to the managed application, such that a first set of read or write operations from the managed application is to be redirected to the private secure container; configuring, based on at least one second setting of the policy information, a shared secure container, which is to be accessible by the managed application and at least one other managed application of the mobile device, such that a second set of read or write operations from the managed application is to be redirected to the shared secure container; determining that legacy data, which is associated with an application of the mobile device that was executed not in accordance with the management framework, is to be configured for the managed application; responsive to determining that the legacy data is to be configured for the managed application, encrypting the legacy data, resulting in encrypted legacy data; storing a first set of the encrypted legacy data in the private secure container; and storing a second set of the encrypted legacy data in the shared secure container.