Patent ID: 8549311

Claim:
An electronic device, comprising: an external storage device connection section for connecting an external storage device that can be locked with a password; a password holding section that holds an identification number and a password of one or more external storage devices; an identification number acquisition section that is adapted to acquire connection identification information indicating the connection identification number of an external storage device connected to the external storage device connection section; a setting release section that is adapted to determine whether or not the connection identification number is contained in the password holding section; a lock state determination section that is adapted, when the connection identification number is contained in the password holding section, to determine whether or not the password of the connected external storage device matches a corresponding password indicating a password corresponding to the connection identification number held in the password holding section; and a password change section that is adapted to change at least the corresponding password held in the password holding section if the password of the connected external storm device does not match the corresponding password in the determination result.