1. A method of validating an application comprising: receiving an application; determining a plurality of accessed classes that are accessed by the application; comparing the plurality of accessed classes to a plurality of authorized classes; and determining if one or more unauthorized classes are included in the plurality of accessed classes.