A memory apparatus, such as a memory card, comprising a first storage region
and
a second storage region. Data can be read from, and written into, the first storage
region, in accordance with instructions made by a user. Data can be read from,
and written into, the second storage region when a data-processing apparatus, to
which the memory apparatus is connected, performs prescribed procedures. Data that
should not be easily rewritten or read by users, such as a password or a use history,
is stored into the second storage region. The security of the memory apparatus,
such as a memory card, can therefore be enhanced.