A non-transitory computer readable medium storing instructions thereon, that when executed perform a method for receiving a user input using a data entry mechanism activated for an application, the method comprising:
- detecting, by a hardware processor, an activity state of the application during an execution of the application on a user device;
- determining, by the hardware processor, security requirements associated with the activity state, wherein the security requirements comprise properties for the data entry mechanism;
- selecting, by the hardware processor, a data entry mechanism corresponding to the determined security requirements associated with the activity state;
- activating, by the hardware processor, the selected data entry mechanism for receiving user input for the application, wherein the selected data entry mechanism is governed according to the properties of the security requirements associated with the activity state;
- receiving, by the hardware processor, the user input in accordance with the activating data entry mechanism;
- and
- displaying, by the hardware processor, a modified version of the user input according to the properties of the security requirement.