1. A computer implemented method comprising: determining potentially dangerous operations of an application by finding one or more universal resource locators (URLs) in the application and analyzing code associated with each URL effective to determine whether the code is configured to communicate with one or more remote locations; and preventing or intercepting the potentially dangerous operations of the application by embedding a requested trust level into the application, the requested trust level comprising at least one of: a full trust level that requests permission to communicate with any remote location; or a location-dependent trust level that requests permission to communicate with at least one of the one or more remote locations.