1. A method of providing security in a mobile device comprised of a virtualization software layer that supports one or more virtual machines, the method comprising: receiving a security policy at the mobile device via the virtualization software layer to have the security policy installed on a virtual machine, wherein the security policy includes location-based information to determine whether to curtail or enable a functionality on the mobile device; collecting location-based information through the virtualization software layer based on a location of the mobile device; comparing, by the virtual machine, the collected location-based information and the location-based information in the security policy; identifying, by the virtual machine, a security action to perform when the comparing of the collected location-based information and the location-based information in the security policy indicates the security action should be taken; and curtailing or enabling, via the virtualization software layer upon a command from the virtual machine, the functionality identified in the security policy on the mobile device.