CPC G06F 21/6245 (2013.01) [G06F 3/0482 (2013.01); G06F 3/0488 (2013.01); G06F 12/0875 (2013.01); G06F 21/64 (2013.01); G06F 2212/1052 (2013.01)] | 8 Claims |
1. An electronic device comprising:
a touch screen display;
at least one processor operatively connected with the touch screen display; and
memory operatively connected with the at least one processor,
wherein the memory stores an application program including a user interface, and
at least one processor is configured to:
execute the application program, and display the user interface including content data accompanying the execution of the application program;
receive a second user input for storing at least a portion of the content data in a clipboard; and
determine whether or not the at least a portion of the content data is tampered with, wherein the determining is based on:
storing a first process identifier regarding the application program, comparing a second process identifier regarding processing of the second user input with the stored first process identifier, and determining that the at least a portion of the content data is tampered with if the second process identifier regarding processing of the second user input does not correspond with the stored first process identifier;
storing time information on a first user input for selecting the at least a portion of the content data, comparing time information on the second user input for storing the at least a portion of the content data with the stored time information, and determining that the at least a portion of the content data is tampered with if an interval between the time information on the second user input and the stored time information is equal to or greater than a specified threshold value;
tracking process information regarding the application program at a time of receiving the second user input, and determining that the at least a portion of the content data is tampered with if the tracked process information does not include information regarding the second user input;
generating information having a specified identifier at a time of receiving the first user input for selecting the at least a portion of the content data to add the generated information to process information regarding the application program, tracking the process information at a time of receiving the second user input for storing the at least a portion of the content data, and determining that the at least a portion of the content data is tampered with if the tracked process information does not include the information having the specified identifier; and
counting the number of times of receiving the second user input for storing the at least a portion of the content data within a specified time range from when the first user input for selecting the at least a portion of the content data is received, and determining that the at least a portion of the content data is tampered with if the number of times of receiving is equal to or greater than a specified value.
|