Patent ID: 8042176

Claim:
A non-transitory storage medium readable by a computer, the storage medium storing a program of instructions executable by the computer to perform a function for preventing unauthorized use of program data, the function comprising: judging whether an executable code for program data, the program data including encrypted data having been loaded into a memory, is set to be writable; and executing an unauthorized use prevention process to prevent an unauthorized use of the program data loaded in the memory; said executing an unauthorized use prevention process including, modifying a memory attribute of the encrypted data of the program data to writable when the executable code for the program data is not set to be writable, rewriting the encrypted data of the program data with decrypted data when the executable code for the program data is not set to be writable, executing the program data in which the encrypted data is rewritten with the decrypted data when the executable code for the program data is not set to be writable, and executing the program data including the encrypted data when the executable code for the program data is set to be writable.