Patent ID: 8650609

Claim:
An image processing apparatus comprising: a storage unit that stores an image file including image data and a plurality of types of parameters; a hash value storage unit that stores, for each of the parameter types classified in accordance with features of parameters, a first hash value obtained when the image file is stored in said storage unit based on the plurality of types of parameters included in the image file; a decision unit that, in a case where an operation for the image file stored in said storage unit is accepted from a user, decides, for each of the parameter types, a second hash value based on the plurality of types of parameters included in the image file; a determination unit that determines whether each of the plurality of types of parameters has been altered or not by comparing, for each of the parameter types, the first hash value stored in said hash value storage unit with the second hash value decided by said decision unit; and a control unit that permits or restricts processing for the image file in accordance with an operation accepted from the user, based on a parameter type for which said determination unit has determined that a type of parameter, of the plurality of types of parameters, has been altered.