Patent ID: 8314955

Claim:
An image forming apparatus including a display unit, comprising: an authorization unit configured to authorize a user to operate the image forming apparatus based on a first password input by the user via an operating section; a decoding unit configured to decode a two dimensional code within an image; a storage control unit configured to perform control of the apparatus to store the image in a storage unit, if a user has been authorized based on the first password and if the correctness of a second password entered by the authorized user through the operating section is authenticated by the information obtained by the decoding at the decoding unit; and a control unit configured to perform, when an instruction is given by an authorized user to display the image stored in the storage unit on the display unit, control of the apparatus to display the image on the display unit without requesting re-entry of the second password, and to perform, when an instruction is given by a user to display the image stored in the storage unit on a display unit of an external device, other than the display unit included in the image forming apparatus, control of the apparatus to request re-entry of the second password for displaying the image on the display unit of the external device.