摘要 |
According to one embodiment, a storage device includes a data storage unit, a receiving unit, a selecting unit, and an authenticating unit. The data storage unit includes a secret area that becomes readable when authentication has been made by using reading authentication information and that becomes writable when authentication has been made by using writing authentication information. The receiving unit receives an access request that is either a write request indicating that data should be written into the secret area or a read request indicating that data should be read from the secret area. The selecting unit selects the writing authentication information if the access request is the write request and selects the reading authentication information if the access request is the read request. The authenticating unit authenticates an access to the secret area by using one of the writing authentication information and the reading authentication information that has been selected. |