1. A computer implemented system for securely executing an application using a virtual machine, including: a plurality of assembly caches for storing application runtime resources; means for assigning a security policy to each of the plurality of assembly caches; means for retrieving corresponding application runtime resources from one or more of the plurality of assembly caches based at least in part on the executing application and the assigned security policies.