The present invention relates to an electronic device such as mobile
terminal devices with a photographing function, and in the case where a
photographing target is a person, enhances its function for protecting
the photographing target from being photographed without consent by such
as spy shots. This can be realized by an electronic device with a
photographing function (mobile terminal device 2, PDA 108, digital camera
110) comprising a target judging part (photographing control part 6) for
judging whether the photographing target is a person or not; a
photographing inquiry part (photographing approval/disapproval inquiry
part 12) for issuing an inquiry information for approval/disapproval of
the photographing based on the judgment result of the target judging part
if the target is a person and making an inquiry for the target about
whether the photographing is approved or not with the inquiry
information; a response information acquisition part (14) for acquiring a
response information issued from the target; and a photographing control
part (6) for outputting in response to the inquiry information either a
photographing approval information representing an approval of
photographing the target or a photographing prohibition information
representing a ban of photographing the target, based on the response
information the response information acquisition part has acquired.