1. A computer-implemented method for loading a module in an intermediate language for use by a hosted environment, the method comprising: receiving a module load request; determining whether the module is being loaded within a hosted environment, wherein the hosted environment is isolated from a primary environment of a host machine, and wherein the hosted environment is an isolated environment configured to control security settings, resources accessing, and impose application restrictions; notifying the hosted environment of an attempt to load a module in the hosted environment; receiving a location for storing a binary image related to the loading module, wherein the location is managed by the hosted environment; validating the stored binary image accessed at the received location prior to loading the binary image for execution; upon determining that the stored binary image is invalid, notifying the hosted environment that the stored binary image is invalid; receiving a host request to generate a new binary image version of the loading module; storing the new binary image at a host-provided location; and preparing the image for execution, wherein the preceding steps are performed by at least one processor.