Patent ID: 6932269

Claim:
A pass-code identification device for controlling accesses made by an external apparatus by collation of pass-codes, said pass-code identification device comprising: a communication unit for communicating with said external apparatus; a data-holding unit for holding data; a pass-code-holding unit for holding a pass-code; a pass-code judgment unit for forming a judgment as to whether or not an input pass-code received from said external apparatus matches said pass-code held by said pass-code holding unit; a condition-setting unit for setting a condition for forming said judgment on said input pass-code; and a flow control unit for controlling accesses made by said external apparatus to said data-holding unit through said communication unit in accordance with said condition for forming said judgment on said input pass-code, which is a condition set by said condition-setting unit, wherein said condition-setting unit comprises: first judgment-necessity-holding means for holding information indicating whether or not said pass-code judgment unit needs to form said judgment on said input pass-codes; second judgment-necessity-holding means for holding information indicating whether or not an input pass-code is required for chancing said first judgment-necessity-holding means from a state of holding information indicating that said pass-code judgment unit needs to form said judgment on aid input pass-code to a state of holding information indicating that said pass-code judgment unit does not need to form said judgment on said input pass-codes; and third judgment-necessity-holding means for holding information indicating whether or not an input pass-code is required for changing said first judgment-necessity-holding means from a state of holding information indicating that said pass-code judgment unit does not need to form said judgment on said input pass-code to a state of holding information indicating that said pass-code judgment unit needs to form said judgment on said input pass-code, said condition-setting unit sets a condition for forming said judgment on said input pass-code in accordance with said information held by aid first judgment-necessity-holding means, said information held by said second judgment-necessity-holding means and said information held by said third judgment-necessity-holding means.