A secure device is provided that can store programs therein, the secure
device including: a low-protection level storage unit; a high-protection
level storage unit; a program acquiring unit that acquires a program and
corresponding additional information, the additional information used for
determining a storage destination of the acquired program; an additional
information analyzing unit that stores the acquired program in one of the
low-protection level storage unit and the high-protection level storage
unit, according to additional information; an area searching unit; a
protection level judging unit; and a program storing unit.