According to one embodiment, an electronic apparatus includes an
association process performing unit and a password verification unit. The
association process performing unit performs an association process to
share a unique key between a host device and the electronic apparatus
through a wired-connection between the host device and the electronic
apparatus. The password verification unit performs a password
verification process to determine whether a password stored in the
electronic apparatus and a password transmitted from the host device
through the wired-connection coincide with each other before the
association process is performed, and permits the association process to
be performed when both the passwords coincide with each other and
inhibits the association process from being performed when both the
passwords do not coincide with each other and inhibits the association
process from being performed when the both passwords do not coincide with
each other.