Apparatus, method and computer readable storage medium with recorded program for managing files with alteration preventing/detecting functions

- FUJITSU LIMITED

By storing an authenticator created from a data file in a secure area usually unaccessible, the alteration of the data file can be detected. Furthermore, by designating the data file as a main-file and creating authenticators from various kinds of sub-files related to the main-file, the size of the secure area where the authenticators are stored, can be reduced.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a system for managing files having the functions of altering files and detecting the alteration of files, and more particularly to a file managing system for implementing the alteration prevention of files and detecting the alteration by storing authenticators indirectly created from files in an area inaccessible by the operator.

[0003] 2. Description of the Related Art

[0004] As the computerization of official documents such as tax-related slips, etc. is promoted, a demand for keeping computerized data as evidence, safely and for a long time, in the same way as data is preserved on paper, has been increasing. The computerized documents can be very easily processed and reused, and can easily be added to, deleted from, corrected or transferred via a network, etc. For this reason, the computerized data involves a risk of being altered by a third party.

[0005] To solve this problem the applicant has applied the Japanese patent application No. 9-88485 (“File system and program storage medium” dated Apr. 7, 1997). This is a file system in which illegal alteration by the low-level access of illegal users, or illegal and malicious alteration by authorized users can be detected by linking the file management module in the OS (operating system) with a storage medium (secure medium) where an area usually unaccessible to users (secure area) can be set and preserving authenticators for detecting the alteration of data files, the access logs of data files, etc. in the secure area relating the authenticators, the access logs, etc. to the data files.

[0006] However, in the above-mentioned conventional example, since access to a secure area by users is usually protected by a file system, in a system without such a file system, the secure area can be easily accessed, and as a result, authenticators, access logs, etc. related to data files can often be altered freely.

[0007] Although a necessary secure area differs in size, since the sizes of access logs, etc. expand dynamically, usually it is difficult to modify the size of both a secure area and a normal area.

SUMMARY OF THE INVENTION

[0008] It is an object of the present invention to provide a system for managing files having alteration preventing/detecting functions for preventing a secure area from being easily accessed and preventing the authenticator and access log, etc. related to a data file from being freely altered, by means of reciprocal authentication obtained between a file system and a storing unit such as, for example, a unit of firmware.

[0009] It is another object of the present invention to provide a system for managing files having alteration preventing/detecting functions for dynamically modifying the size of both a secure area and a normal area by locating sub-files such as authenticators, access logs, etc. related to a data file being a main-file in the normal area, and locating only authenticators created from the sub-file in the secure area.

[0010] The system for managing files having alteration preventing/detecting functions of the present invention comprises a reciprocal authentication unit, an access allowing key storage unit, a file access unit, a main-file storage unit, a main-file reading unit, a sub-file storage unit, a sub-file reading unit, a system file storage unit, a system file reading unit, an authentication information creation unit, an authentication information comparison unit, an access allowing key group storage unit, an access allowing key identification unit and a secure area access unit.

[0011] In the first aspect of the present invention the reciprocal authentication unit creates an access allowing key. The access allowing key storage unit stores the access allowing key. The file access unit sends out an access request together with the access allowing key. The access allowing key group storage unit stores all the access allowing keys. The access allowing identification unit identifies if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same. The secure area access unit accesses a secure area normally unaccessible.

[0012] In the second aspect of the present invention the sub-file storage unit stores files. The authentication information creation unit creates sub-file authentication information used to verify the sub-files. The system file storage unit stores the sub-file authentication information relating the information to the main-file as a system file.

[0013] In the third aspect of the present invention the main-file storage unit stores a main-file. The authentication information creation unit creates main-file authentication information to be used to verify the main-file. The sub-file storage unit stores the main-file authentication information relating the information to the main-file as one of sub-files.

[0014] In the fourth aspect of the present invention the main-file storage unit stores a main-file. The authentication creation unit creates main-file authentication information to be used to verify the main-file. The sub-file storage unit stores the main-file authentication information relating the information to the main-file as one of sub-files. The sub-file storage unit stores one or a plurality of sub-files related to a main-file. The authentication information creation unit creates sub-file authentication information to be used to verify the sub-file. The system file storage unit stores the sub-file authentication information relating the information to the sub-file as a system file.

[0015] In the fifth aspect of the present invention the sub-file reading unit reads sub-files. The authentication information creation unit creates sub-file authentication information from sub-files read from the sub-file reading unit. The system file reading unit reads sub-file authentication information from a system file related to the sub-file. The authentication information comparison unit compares the sub-file authentication information created by the authentication information creation unit with the sub-file authentication information read by the system file reading unit.

[0016] In the sixth aspect of the present invention the main-file reading unit reads a main-file. The authentication information creation unit creates main-file authentication information from a main-file read from the main-file reading unit. The sub-file reading unit reads main-file authentication information from sub-files related to the main-file. The authentication information comparison unit compares the main-file authentication information created by the authentication information creation unit with the main-file authentication information read by the sub-file reading unit.

[0017] In the seventh aspect of the present invention the main-file reading unit reads a main-file. The sub-file reading unit reads one or a plurality of sub-files related to the main-file and the main-file authentication information from sub-files related to the main-file. The system file reading unit reads sub-file authentication information from a system file related to the sub-file. The authentication information creation unit creates main-file authentication information from a main-file read by the main-file reading unit, and creates sub-file authentication information from sub-files read by the sub-file reading unit. The authentication information comparison unit compares the main-file authentication information created by the authentication information creation unit with the main-file authentication information read by the sub-file reading unit, and compares the sub-file authentication information created by the authentication information creation unit with the sub-file authentication information read by the system file reading unit.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The present invention will be more apparent from the following detailed description in conjunction with the accompanying drawings, in which:

[0019] FIG. 1 shows an entire configuration of a file management system having alteration preventing/detecting functions of the present invention.

[0020] FIG. 2 explains a file composition of the present invention.

[0021] FIG. 3 explains a calculation method of a message authentication code (MAC) process.

[0022] FIG. 4 shows a configuration of a file management system having alteration preventing/detecting functions of the first embodiment of this invention.

[0023] FIG. 5 is a flowchart showing an operation of the first embodiment of this invention.

[0024] FIG. 6 shows a configuration of a file management system having alteration preventing/detecting functions of the second embodiment of this invention.

[0025] FIG. 7 is a flowchart showing an operation of the second embodiment of this invention.

[0026] FIG. 8 shows a configuration of a file management system having alteration preventing/detecting functions of the third embodiment of this invention.

[0027] FIG. 9 is a flowchart showing an operation of the third embodiment of this invention.

[0028] FIG. 10 shows a configuration of a file management system having alteration preventing/detecting functions of the fourth embodiment of this invention.

[0029] FIG. 11 is a flowchart showing an operation of the fourth embodiment of this invention.

[0030] FIG. 12 shows a configuration of a file management system having alteration preventing/detecting functions of the fifth embodiment of this invention.

[0031] FIG. 13 is a flowchart showing an operation of the fifth embodiment of this invention.

[0032] FIG. 14 shows a configuration of a file management system having alteration preventing/detecting functions of the sixth embodiment of this invention.

[0033] FIG. 15 shows a configuration of a file management system having alteration preventing/detecting functions of the seventh embodiment of this invention.

[0034] FIG. 16 shows a configuration of a file management system having alteration preventing/detecting functions of the eighth embodiment of this invention.

[0035] FIG. 17 is a flowchart showing an operation of the eighth embodiment of this invention.

[0036] FIG. 18 shows a configuration of a file management system having alteration preventing/detecting functions of the ninth embodiment of this invention.

[0037] FIG. 19 is a flowchart showing an operation of the ninth embodiment of this invention.

[0038] FIG. 20 shows a configuration of a file management system having alteration preventing/detecting functions of the tenth embodiment of this invention.

[0039] FIG. 21 is a flowchart showing an operation of the tenth embodiment of this invention.

[0040] FIG. 22 shows a configuration of a file management system having alteration preventing/detecting functions of the eleventh embodiment of this invention.

[0041] FIG. 23 is a flowchart showing an operation of the eleventh embodiment of this invention.

[0042] FIG. 24 shows a configuration of a file management system having alteration preventing/detecting functions of the twelfth embodiment of this invention.

[0043] FIG. 25 shows a configuration of a file management system having alteration preventing/detecting functions of the thirteenth embodiment of this invention.

[0044] FIG. 26 shows a configuration of a file management system having alteration preventing/detecting functions of the fourteenth embodiment of this invention.

[0045] FIG. 27 is a flowchart showing an operation of the fourteenth embodiment of this invention.

[0046] FIG. 28 shows a configuration of a file management system having alteration preventing/detecting functions of the fifteenth embodiment of this invention.

[0047] FIG. 29 is a flowchart showing an operation of the fifteenth embodiment of this invention.

[0048] FIG. 30 shows a configuration of a file management system having alteration preventing/detecting functions of the sixteenth embodiment of this invention.

[0049] FIG. 31 shows a configuration of an alteration preventing/detecting system.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0050] The embodiments of this invention are described in detail below with reference to the drawings.

[0051] The invention of claim 1 is a file system comprising a computer and a storage unit. The computer comprises a reciprocal authentication unit for reciprocally authenticating the computer with the storage unit and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key storage unit for storing the access allowing key, and a file access unit for sending an access request together with the access allowing key. The storage unit comprises a reciprocal authentication unit for reciprocally authenticating the storage unit with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key group storage unit for storing all the access allowing keys, an access allowing key identification unit for identifying if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same, and a secure area access unit for accessing a secure area usually unaccessible.

[0052] The invention of claim 2 is the file management system according to claim 1, wherein both the authentication unit of the computer and file access unit are implemented by a unit of hardware.

[0053] The invention of claim 3 is a file management system comprising a sub-file storage unit for storing one or a plurality of sub-files related to a main-file, an authentication information creation unit for creating sub-file authentication information to be used to verify the sub-files, and a system file storage unit for storing the sub-file authentication information relating the information to the sub-file as a system file.

[0054] The invention of claim 4 is a file management system comprising a main-file storage unit for storing a main-file, an authentication information creation unit for creating main-file authentication information to be used to verify the main-file, and a sub-file storage unit for storing one of sub-files to which the main-file authentication information is related.

[0055] The invention of claim 5 is a file management system comprising a main-file storage unit for storing a main-file, an authentication information creation unit for creating main-file authentication information to be used to verify the main-file, a sub-file storage unit for storing one of sub-files to which the main-file authentication information is related, a sub-file storage unit for storing one or a plurality of sub-files related to a main-file, an authentication information creation unit for creating sub-file authentication information to be used to verify the sub-file, and a system file storage unit for storing the sub-file authentication information relating the information to the sub-file as a system file.

[0056] The invention of claim 6 is a file management system according to claim 5, wherein the main-file, sub-files and system file are stored in a non-secure area usually accessible.

[0057] The invention of claim 7 is a file management system according to claim 5, wherein the main-file, and the sub-files and system file are stored in a non-secure area usually accessible and a secure area usually unaccessible, respectively.

[0058] The invention of claim 8 is a file management system according to claim 5, wherein the main-file and sub-files, and the system file are stored in a non-secure area usually accessible and a secure area usually unaccessible, respectively.

[0059] The invention of claim 9 is a file management system according to claim 6, comprising a computer and a storage unit, wherein the computer comprises a reciprocal authentication unit for reciprocally authenticating with the storage unit and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key storage unit for storing the access allowing key, and a file access unit for sending an access request together with the access allowing key. The storage unit comprises a reciprocal authentication unit for reciprocally authenticating with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key group storage unit for storing all the access allowing keys, an access allowing key identification unit for identifying if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same, and a secure area access unit for accessing a secure area usually unaccessible, and the authentication information creation unit reads a medium ID peculiar to a medium stored in the secure area after reciprocally authenticating the computer and storage unit and uses the medium ID to create both the main-file authentication information and sub-file authentication information.

[0060] The invention of claim 10 is a file management system according to claim 7, comprising a computer and a storage unit, wherein the computer comprises a reciprocal authentication unit for reciprocally authenticating with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key storage unit for storing the access allowing key, and a file access unit for sending an access request together with the access allowing key. The storage unit comprises a reciprocal authentication unit for reciprocally authenticating with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key group storage unit for storing all the access allowing keys, an access allowing key identification unit for identifying if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same, and a secure area access unit for accessing a secure area usually unaccessible. The authentication information creation unit reads a medium ID peculiar to a medium stored in the secure area after reciprocally authenticating the computer and storage unit and uses the medium ID to create both the main-file authentication information and sub-file authentication information.

[0061] The invention of claim 11 is a file management system according to claim 8, comprising a computer and a storage unit, wherein the computer comprises a reciprocal authentication unit for reciprocally authenticating with the storage unit and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key storage unit for storing the access allowing key, and a file access unit for sending an access request together with the access allowing key. The storage unit comprises a reciprocal authentication unit for reciprocally authenticating with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key group storage unit for storing all the access allowing keys, an access allowing key identification unit for identifying if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same, and a secure area access unit for accessing a secure area usually unaccessible. The authentication information creation unit reads a medium ID peculiar to a medium stored in the secure area after reciprocally authenticating the computer and storage unit, and uses the medium ID to create both the main-file authentication information and sub-file authentication information.

[0062] The invention of claim 12 is a file management system according to claim 9, wherein the reciprocal authentication information unit of the computer and the file access unit are implemented by means of hardware.

[0063] The invention of claim 13 is a file management system according to claim 9, wherein the medium ID is a card ID.

[0064] The invention of claim 14 is a file management system according to claim 9, wherein the medium ID is a master ID.

[0065] The invention of claim 15 is a file management system according to claim 9, wherein the authentication information is created for each record of a file.

[0066] The invention of claim 16 is a file management system according to claim 10, wherein the authentication information is created for each record of a file.

[0067] The invention of claim 17 is a file management system according to claim 11, wherein the authentication information is created for each record of a file.

[0068] The invention of claim 18 is a file management system comprising a sub-file reading unit for reading one or a plurality of sub-files related to a main-file, an authentication information creation unit for creating sub-file authentication information from sub-files read by the sub-file reading unit, a system file reading unit for reading sub-file authentication information from a system file related to the sub-file, and an authentication information comparison unit for comparing the sub-file authentication information created by the authentication information creation unit with the sub-file authentication information read by the system file reading unit.

[0069] The invention of claim 19 is a file management system comprising a main-file reading unit for reading a main-file, an authentication information creation unit for creating main-file authentication information from a main-file read by the main-file reading unit, a sub-file reading unit for reading main-file authentication information from sub-files related to the main-file, and an authentication information comparison unit for comparing the main-file authentication information created by the authentication information creation unit with the main-file authentication information read by the sub-file reading unit.

[0070] The invention of claim 20 is a file management system comprising a main-file reading unit for reading a main-file, a sub-file reading unit for reading main-file authentication information from one or a plurality of sub-files related to the main-file and sub-files related to the main-file, a system file reading unit for reading sub-file authentication information from a system file related to the sub-file, an authentication information creation unit for creating main-file authentication information from a main-file read by the main-file reading unit and creating sub-file authentication information from sub-files read from the sub-file reading unit, an authentication information comparison unit for comparing the main-file authentication information created by the authentication information creation unit with the main-file authentication information read by the sub-file reading unit and comparing the sub-file authentication information created by the authentication information creation unit with the sub-file authentication information read by the system file reading unit.

[0071] The invention of claim 21 is a file management system according to claim 20, wherein the main-file, sub-files and system file are stored in a non-secure area usually accessible.

[0072] The invention of claim 22 is a file management system according to claim 20, wherein the main-file, and the sub-files and system file are stored in a non-secure area usually accessible and a secure area usually unaccessible, respectively.

[0073] The invention of claim 23 is a file management system according to claim 20, wherein the main-file and sub-files, and the system file are stored in a non-secure area usually accessible and a secure area usually unaccessible, respectively.

[0074] The invention of claim 24 is a file management system according to claim 21, comprising a computer and a storage unit, wherein the computer comprises a reciprocal authentication unit for reciprocally authenticating with the storage unit and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key storage unit for storing the access allowing key, and a file access unit for sending an access request together with the access allowing key. The storage unit comprises a reciprocal authentication unit for reciprocally authenticating with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key group storage unit for storing all the access allowing keys, an access allowing key identification unit for identifying if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same, and a secure area access unit for accessing a secure area usually unaccessible. The authentication information creation unit reads a medium ID peculiar to a medium stored in the secure area after reciprocally authenticating the computer and storage unit, and uses the medium ID to create both the main-file authentication information and sub-file authentication information.

[0075] The invention of claim 25 is a file management system according to claim 22, comprising a computer and a storage unit, wherein the computer comprises a reciprocal authentication unit for reciprocally authenticating with the storage unit and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key storage unit for storing the access allowing key and a file access unit for sending an access request together with the access allowing key, the storage unit comprises a reciprocal authentication unit for reciprocally authenticating with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key group storage unit for storing all the access allowing keys, an access allowing key identification unit for identifying if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same, and a secure area access unit for accessing a secure area usually unaccessible. The authentication information creation unit reads a medium ID peculiar to a medium stored in the secure area after reciprocally authenticating the computer and storage unit and uses the medium ID to create both the main-file authentication information and sub-file authentication information.

[0076] The invention of claim 26 is a file management system according to claim 23, comprising a computer and a storage unit, wherein the computer comprises a reciprocal authentication unit for reciprocally authenticating with the storage unit and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key storage unit for storing the access allowing key, and a file access unit for sending an access request together with the access allowing key. The storage unit comprises a reciprocal authentication unit for reciprocally authenticating with the computer and creating an access allowing key when the computer and storage unit are reciprocally authenticated, an access allowing key group storage unit for storing all the access allowing keys, an access allowing key identification unit for identifying if the access allowing key stored in the access allowing key storage unit and at least one access allowing key stored in the access allowing key group storage unit, are the same, and a secure area access unit for accessing a secure area usually unaccessible. The authentication information creation unit reads a medium ID peculiar to a medium stored in the secure area after reciprocally authenticating the computer and storage unit, and uses the medium ID to create both the main-file authentication information and sub-file authentication information.

[0077] The invention of claim 27 is a file management system according to claim 24, wherein the reciprocal authentication unit of the computer and the file access unit are implemented by means of hardware.

[0078] The invention of claim 28 is a file management system according to claim 24, wherein the medium ID is a card ID.

[0079] The invention of claim 29 is a file management system according to claim 24, wherein the medium ID is a master ID.

[0080] The invention of claim 30 is a file management system according to claim 24, wherein the authentication information is created for each record of a file.

[0081] The invention of claim 31 is a file management system according to claim 1, wherein the storage unit comprises a sector access unit for accessing a main-file or sub-files related to the main-file in units of sectors or sector groups, and the secure area access unit comprises an access control information reading unit for reading access control information stored in the secure area.

[0082] The invention of claim 32 is a file management system according to claim 31, wherein the secure area access unit further comprises an access control information setting unit for setting access control information in the secure area.

[0083] The invention of claim 33 is a file management system according to claim 9, wherein authentication information is created using one, two or all of the medium ID, card ID and master ID.

[0084] The invention of claim 34 is a file management system according to claim 24, wherein authentication information is created using one, two or all of the medium ID, card ID and master ID.

[0085] The invention of claim 35 is a file management method comprising the reciprocal authentication step of creating an access allowing key, the access allowing key storing step of storing the access allowing keys, the file access step of sending an access request together with the access allowing key, the access allowing key group storing step of storing all the access allowing keys, the access allowing key identifying step of identifying if the access allowing key stored in the access allowing key storing step and at least one access allowing key stored in the access allowing key group storing step, are the same, and the secure area accessing step of accessing a secure area usually unaccessible when reciprocal authentication is carried out between a computer and a storage unit and when the computer and the storage unit are reciprocally authenticated.

[0086] The invention of claim 36 is a computer readable storage medium with a recorded file management program for enabling a computer to implement the reciprocal authentication step of creating an access allowing key, the access allowing key storing step of storing the access allowing key, the file access step of sending an access request together with the access allowing key, the access allowing key group storing step of storing all the access allowing keys, the access allowing key identifying step of identifying if the access allowing key stored in the access allowing key storing step and at least one access allowing key stored in the access allowing key group storing step, are the same, and the secure area accessing step of accessing a secure area usually unaccessible when reciprocal authentication is carried out between a computer and a storage unit and when the computer and the storage unit are reciprocally authenticated.

[0087] FIG. 1 shows the entire configuration of the file management system having the alteration preventing/detecting functions of the present invention.

[0088] Each component unit is described later with reference to FIGS. 4, 6, 8, 10, 12, 14, 15, 16, 18, 20, 22, 24, 25, 26, 28 and 30 while describing each embodiment of this invention.

[0089] Each component unit on a computer 1 side such as a reciprocal authentication unit 11, authentication information creation unit 14 and authentication information comparison unit 15, etc., can be a software subroutine of a file management module in an OS, or can be constructed by means of hardware.

[0090] FIG. 2 explains the file composition of the present invention.

[0091] Authenticators created from a main-file are stored in sub-files, and authenticators created from sub-files are stored in a system file.

[0092] FIG. 3 explains the calculation method of a message authentication code (MAC) processing.

[0093] Source data such as a main-file, sub-files, etc. are divided, for example, into several blocks of 64 bits, and are ciphered. The exclusive-ORs of the ciphered value and the next 64 bits are calculated, and are also ciphered. Although each ciphered value or a part of the value, for example, the higher-order 32 bits, can be made an authenticator, in each embodiment of this invention described later, this process is repeated to the last block of the source data, and higher-order 32 bits finally obtained shall be an authenticator.

[0094] FIG. 4 shows the configuration of the file management system having the alteration preventing/detecting functions of the first embodiment of this invention. FIG. 5 is a flowchart showing the operation of the first embodiment of this invention.

[0095] In step S51 the reciprocal authentication unit 11 on the computer 1 side and the reciprocal authentication unit 21 on the storage unit 2 side are reciprocally authenticated. If in step S52 the reciprocal authentication succeeds, in step S53 a common access allowing key is created. In step S54 the reciprocal authentication unit 11 on the computer 1 side transfers the created allowing key to an access allowing key storage unit 12, and the key is stored in the storage unit 12. The reciprocal authentication unit 21 on the storage unit 2 side also transfers the created allowing key to an access allowing key storage unit 22, and the key is stored in the storage unit 22. The reciprocal authentication method shall use, for example, a general open key.

[0096] In step S55, when accessing a secure area 31 in a medium 3 to be accessed via the storage unit 2, a file access unit 13 sends the access allowing key to a secure area access unit 24 of the storage unit 2 together with an access request.

[0097] In step S56 an access allowing key identification unit 23 judges whether or not there is the same access allowing key as the access allowing key sent from the file access unit 13 to the secure area access unit 24 together with the access request, in the access allowing key storage unit 22. If there is the same access allowing key, in step S57 the secure area access unit 24 accesses a secure area 31.

[0098] Each of the reciprocal authentication unit 11 and file access unit 13 on the computer side 1 can be a software subroutine of a file management module in an OS or can be constructed by means of hardware.

[0099] FIG. 6 shows the configuration of the file management system having the alteration preventing/detecting functions of the second embodiment of this invention. FIG. 7 is a flowchart showing the operation of the second embodiment of this invention.

[0100] In step S71 a sub-file storage unit 138 stores sub-files 34 in the medium 3 in units of blocks, if there is still another sub-file 34 to be processed when the flow returns from the process in step S74, described later, the sub-file storage unit 138 reads the sub-file 34, and combines the sub-file 34 with the already stored sub-files 34, and transfers the combined sub-file to an authentication information creation unit 14.

[0101] In step S72 the authentication information creation unit 14 creates an authenticator being authentication information from the combined sub-file, which is transferred to a system file storage unit 134. In step S73 it is checked whether or not all the blocks of the sub-file 34 are processed. If there is still another block to be processed, the flow returns to step S71, where the next block of the sub-file 34 is processed.

[0102] In step S73 it is checked whether or not all the plurality of sub-files 34 are processed. If there is still another sub-file 34 to be processed, the flow returns to step S71, where the next sub-file 34 is processed.

[0103] In step S74 the system file storage unit 134 makes a set of an arbitrary ID for exclusively identifying both a main-file 33 and a sub-file group 34, and an authenticator being authentication information, and stores the set in a system file 35.

[0104] FIG. 8 shows the configuration of the file management system having the alteration preventing/detecting functions of the third embodiment of this invention. FIG. 9 is a flowchart showing the operation of the third embodiment of this invention.

[0105] In step S91 a main-file storage unit 136 stores the main-file 33 in the medium 3 in units of blocks, and also transfers the main-file 33 to the authentication information creation unit 14.

[0106] In step S92, when receiving this main-file 33, the authentication information creation unit 14 creates an authenticator being authentication information, and transfers the authenticator to the sub-file storage unit 138. In step S93 it is checked whether or not all the blocks of the main-file 33 are processed. If there is still another block to be processed, the flow returns to step S91, where the next block of the main-file 33 is processed.

[0107] In step S94 the sub-file storage unit 138 makes a set of an arbitrary ID for exclusively identifying a main-file 33 and an authenticator being authentication information, and stores the set in a specific sub-file 34.

[0108] FIG. 10 shows the configuration of the file management system having the alteration preventing/detecting functions of the fourth embodiment of this invention. FIG. 11 is a flowchart showing the operation of the fourth embodiment of this invention.

[0109] In step S111 the main-file storage unit 136 stores the main-file 33 in the medium 3 in units of blocks, and transfers the main-file 33 to the authentication information creation unit 14.

[0110] In step S112 the authentication information creation unit 14 creates an authenticator being authentication information from the main-file 33, and transfers the authenticator to the sub-file storage unit 138. In step S113 it is checked whether or not all the blocks of the main-file 33 are processed. If there is still another block to be processed, the flow returns to step S111, where the next block of the main-file 33 is processed.

[0111] In step S114 the sub-file storage unit 138 makes a set of an arbitrary ID for exclusively identifying a main-file 33 and an authenticator being authentication information, and stores the authenticator in a specific sub-file 34.

[0112] Then, in step S115 a sub-file reading unit 139 reads the sub-file group 34, and transfers the sub-file group 34 to the authentication information creation unit 14.

[0113] In step S116 the authentication information creation unit 14 creates an authenticator being authentication information, and transfers the authenticator to the system file storage unit 134. In step S117 it is checked whether or not all the blocks of the sub-file 34 are processed. If there is still another block to be processed, the flow returns to step S115, where the next block of the sub-file 34 is processed.

[0114] In step S118 it is checked whether or not all the plurality of sub-files 34 are processed. If there is still another sub-file 34 to be processed, the flow returns to step S115, where the next sub-file 34 is processed. By executing this process on all of the sub-files, the sub-file reading unit 139 is able to read all of the sub-files in the sub-file group 34, and is able to transfer all of the sub-files in the sub-file group 34 to the authentication information creation unit 14.

[0115] In step S119 the system file storage unit 134 makes a set of an arbitrary ID for exclusively identifying both main-file 33 and sub-file group 34, and an authenticator being authentication information, and stores the set in the system file 35.

[0116] Although the main-file 33 is stored in a non-secure area 32, the sub-files 34 and system file 35 can be stored in either the secure area 31 or the non-secure area 32.

[0117] That is, the main-file 33 being actual data has to be stored in the non-secure area 32, and since the sub-files 34 and system file 35 are not directly required to be accessed nor are directly accessed, the sub-files 34 and system file 35 can be stored in either the secure area 31 or the non-secure area 32.

[0118] FIG. 12 shows the configuration of the file management system having the alteration preventing/detecting functions of the fifth embodiment of this invention. FIG. 13 is a flowchart showing the operation of the fifth embodiment of this invention.

[0119] The reciprocal authentication described in the first embodiment of this invention is carried out in advance.

[0120] In step S130 a medium ID reading unit 16 reads a medium ID 36 from the secure area 31 in the medium 3, and transfers the medium ID 36 to the authentication information creation unit 14.

[0121] In step S131 the main-file storage unit 136 stores the main-file 33 in the medium 3 in units of blocks, and also transfers the main-file 33 to the authentication information creation unit 14.

[0122] In step S132, when receiving the main-file 33, the authentication information creation unit 14 creates an authenticator being authentication information from the main-file 33 using the medium ID 36 as a key, and transfers the authenticator to the sub-file storage unit 138. It is assumed here that the authenticator is created using a data encryption standard-message authentication code (DES-MAC).

[0123] In step S133 it is checked whether or not all the blocks of the main-file 33 are processed. If there is still another block to be processed, the flow returns to step S131, and the next block of the main-file 33 is processed.

[0124] In step S134 the sub-file storage unit 138 makes a set of an arbitrary ID for exclusively identifying a main-file 33 and an authenticator being authentication information, and stores the set in a specific sub-file 34.

[0125] Then, in step S135 a sub-file reading unit 139 reads sub-files, and transfers the sub-files to the authentication information creation unit 14. Furthermore, when the flow returns from the process in step S138, described later, the sub-file reading unit 139 combines the data stored in step S134, and transfers the data to the authentication information creation unit 14. That is, the sub-file reading unit 139 reads all of the sub-file group 34, combines all of the stored sub-file group 34, and transfers the sub-file group 34 to the authentication information creation unit 14.

[0126] In step S136 the authentication information creation unit 14 creates an authenticator being authentication information in the same way as described above, and transfers the authenticator to the system file storage unit 134.

[0127] In step S137 it is checked whether or not all the blocks of the sub-file 34 are processed. If there is still another block to be processed, the flow returns to step S135, where the next block of the sub-file 34 is processed.

[0128] In step S138 it is checked whether or not all the plurality of sub-files 34 are processed. If there is still another sub-file 34 to be processed, the flow returns to step S135, where the next sub-file 34 is processed.

[0129] In step S139 the system file storage unit 134 makes a set of an arbitrary ID for exclusively identifying both the main-file 33 and sub-files 34, and authentication information, and stores the set in the system file 35.

[0130] The medium ID 36 used as a key when creating the authenticator can also be read from the medium 3 in advance.

[0131] Furthermore, the above-mentioned process can also be executed for each record composing the file of the main-file 33 and sub-files 34.

[0132] FIG. 14 shows the configuration of the file management system having the alteration preventing/detecting functions of the sixth embodiment of this invention.

[0133] The configuration and basic operation of the sixth embodiment of this invention are the same as the configuration and basic operation of the fifth embodiment of this invention, except that the medium ID 36 read by the medium ID reading unit 16 in the fifth embodiment of this invention described with reference to FIG. 12, is replaced with a card ID 18 in the sixth embodiment of this invention.

[0134] FIG. 15 shows the configuration of the file management system having the alteration preventing/detecting functions of the seventh embodiment of this invention.

[0135] The configuration and basic operation of the seventh embodiment of this invention are the same as the configuration and basic operation of the fifth embodiment of this invention, except that the medium ID 36 read by the medium ID reading unit 16 in the fifth embodiment of this invention described with reference to FIG. 12 is replaced with a master ID 17 in the seventh embodiment of this invention.

[0136] FIG. 16 shows the configuration of the file management system having the alteration preventing/detecting functions of the eighth embodiment of this invention. FIG. 17 is a flowchart showing the operation of the eighth embodiment of this invention.

[0137] In step S171, when a verification request is issued by a higher-order layer (a user, etc.) via input/output unit 41, the system file reading unit 135 reads an authenticator being corresponding authentication information from the system file 35, and transfers the authenticator to an authentication information comparison unit 15.

[0138] On the other hand, in step S172 the sub-file reading unit 139 reads the sub-files 34 in units of blocks, and transfers the sub-files 34 to the authentication information creation unit 14.

[0139] In step S173 the authentication information creation unit 14 creates an authenticator being authentication information, and transfers the authenticator to the authentication information comparison unit 15.

[0140] In step S174 it is checked whether or not all the blocks of the sub-file 34 are processed. If there is still another block to be processed, the flow returns to step S172, where the next block of the sub-file 34 is processed.

[0141] In step S175 it is checked whether or not all the plurality of sub-files 34 are processed. If there is still another sub-file 34 to be processed, the flow returns to step S172, where the next sub-file 34 is processed.

[0142] In step S176 the authentication information comparison unit 15 compares these authenticators being authentication information. If the authenticators are the same, the authentication information comparison unit 15 reports the successful verification to the higher-order layer. If the authenticators are different, the authentication information comparison unit 15 reports the failed verification to the higher-order layer.

[0143] FIG. 18 shows the configuration of the file management system having the alteration preventing/detecting functions of the ninth embodiment of this invention. FIG. 19 is a flowchart showing the operation of the ninth embodiment of this invention.

[0144] In step S191, when a verification request is issued by a higher-order layer (a user, etc.) via input/output unit 41, the sub-file reading unit 139 reads an authenticator being corresponding authentication information from the specific file 34, and transfers the authenticator to an authentication information comparison unit 15.

[0145] On the other hand, in step S192 the main-file reading unit 137 reads a main-file 33 in units of blocks, and transfers the main-file 33 to the authentication information creation unit 14.

[0146] In step S193 the authentication information creation unit 14 creates an authenticator being authentication information, and transfers the authenticator to the authentication information comparison unit 15.

[0147] In step S194 it is checked whether or not all the blocks of the main-file 33 are processed. If there is still another block to be processed, the flow returns to step S192, where the next block of the main-file 33 is processed.

[0148] In step S195 the authentication information comparison unit 15 compares these authenticators being authentication information. If the authenticators are the same, the authentication information comparison unit 15 reports the successful verification to the higher-order layer. If the authenticators are different, the authentication information comparison unit 15 reports the failed verification to the higher-order layer.

[0149] FIG. 20 shows the configuration of the file management system having the alteration preventing/detecting functions of the tenth embodiment of this invention. FIG. 21 is a flowchart showing the operation of the tenth embodiment of this invention.

[0150] In step S210, when a reading request for reading a main-file 33 is issued, first the system file reading unit 135 reads an authenticator being corresponding authentication information from the system file 35, and transfers the authenticator to the authentication information comparison unit 15.

[0151] On the other hand, in step S211 the sub-file reading unit 139 reads sub-files 34 in units of blocks, and transfers the sub-files to the authentication information creation unit 14.

[0152] In step S212 the authentication information creation unit 14 creates an authenticator being authentication information from these sub-files in units of blocks, and transfers the authenticator to the authentication information comparison unit 15.

[0153] In step S213 it is checked whether or not all the blocks of the sub-file 34 are processed. If there is still another block to be processed, the flow returns to step S211, where the next block of the sub-file 34 is processed.

[0154] In step S214 it is checked whether or not all the plurality of sub-files 34 are processed. If there is still another sub-file 34 to be processed, the flow returns to step S211, where the next sub-file 34 is processed.

[0155] In step S215 the authentication information comparison unit 15 compares the authenticator being the read authentication information with the authenticator being created authentication information, and if the authenticators are different, reports the failed verification to the higher-order layer.

[0156] Then, if the verification succeeds, in step S216 the sub-file reading unit 139 reads an authenticator being the authentication information for the main-file 33 from the sub-files 34, and transfers the authenticator to the authentication information comparison unit 15.

[0157] On the other hand, in step S217 the main-file reading unit 137 reads the main-file 33 in units of blocks, and transfers the main-file 33 to the authentication information creation unit 14.

[0158] In step S218 the authentication information creation unit 14 creates an authenticator being authentication information in units of blocks, and transfers the authenticator to the authentication information comparison unit 15.

[0159] In step S219 it is checked whether or not all the blocks of the main-file 33 are processed. If there is still another block to be processed, the flow returns to step S217, and the next block of the main-file 33 is processed.

[0160] In step S220 the authentication information comparison unit 15 compares the authenticator being read authentication information with the authenticator being created authentication information, and reports the result of the verification to the higher-order layer.

[0161] Although the main-file 33 is stored in a non-secure area, the sub-files 34 and system file 35 can be stored in either the secure area or the non-secure area.

[0162] FIG. 22 shows the configuration of the file management system having the alteration preventing/detecting functions of the eleventh embodiment of this invention. FIG. 23 is a flowchart showing the operation of the eleventh embodiment of this invention.

[0163] When a verification request is issued by a higher-order layer (a user, etc.) via the input/output unit 41, in step S230 the medium ID reading unit 16 reads a medium ID 36 from the secure area 31 in the medium 3, and transfers the medium ID 36 to the authentication information creation unit 14.

[0164] In step S231 the system file reading unit 135 reads an authenticator being corresponding authentication information from the system file 35, and transfers the authenticator to the authentication information comparison unit 15.

[0165] In step S232 the sub-file reading unit 139 reads sub-files 34 in units of blocks, and transfers the sub-files to the authentication information creation unit 14.

[0166] In step S233 the authentication information creation unit 14 creates an authenticator being authentication information using the medium ID 36 as a key, and transfers the authenticator to the authentication information comparison unit 15.

[0167] In step S234 it is checked whether or not all the blocks of the sub-file 34 are processed. If there is still another block to be processed, the flow returns to step S232, where the next block of the sub-file 34 is processed.

[0168] In step S235 it is checked whether or not all the plurality of sub-files 34 are processed. If there is still another sub-file 34 to be processed, the flow returns to step S232, where the next sub-file 34 is processed.

[0169] In step S236 the authentication information comparison unit 15 compares the authenticator being the read authentication information with the authenticator being the created authentication information, and reports the failed verification to the higher order layer if the authenticators are not the same.

[0170] Then, if the verification succeeds, in step S237 the sub-file reading unit 139 reads an authenticator being authentication information from a specific sub-file 34, and transfers the authenticator to the authentication information comparison unit 15.

[0171] In step S238 the main-file reading unit 137 reads a main-file 33 in units of blocks, and transfers the main-file 33 to the authentication information creation unit 14.

[0172] In step S239 the authentication information creation unit 14 creates an authenticator being authentication information in units of blocks using the medium ID 36 as a key, and transfers the authenticator to the authentication information comparison unit 15.

[0173] In step S240 it is checked whether or not all the blocks of the main-file 33 are processed. If there is still another block to be processed, the flow returns to step S238, and the next block of the main-file 33 is processed.

[0174] In step S241 the authentication information comparison unit 15 compares the authenticator being the read authentication information with the authenticator being the created authentication information. If the authenticators are the same, the authentication information comparison unit 15 reports the successful verification to the higher order layer. If the authenticators are different, the authentication information comparison unit 15 reports the failed verification to the higher order layer.

[0175] The medium ID 36 to be used as a key when creating an authenticator can also be read from the medium 3 in advance.

[0176] Furthermore, the above-mentioned process can be executed for each record composing both the main-file 33 and sub-files 34.

[0177] FIG. 24 shows the configuration of the file management system having the alteration preventing/detecting functions of the twelfth embodiment of this invention.

[0178] The configuration and basic operation of the twelfth embodiment of this invention are the same as the configuration and basic operation of the eleventh embodiment of this invention, except that the medium ID 36 read by the medium ID reading unit 16 in the eleventh embodiment of this invention described with reference to FIG. 22 is replaced with a card ID 18 in the twelfth embodiment of this invention.

[0179] FIG. 25 shows the configuration of the file management system having the alteration preventing/detecting functions of the thirteenth embodiment of this invention.

[0180] The configuration and basic operation of the thirteenth embodiment of this invention are the same as the configuration and basic operation of the eleventh embodiment of this invention, except that the medium ID 36 read by the medium ID reading unit 16 in the eleventh embodiment of this invention described with reference to FIG. 22 is replaced with a master ID 17 common to a plurality of pieces of hardware in the twelfth embodiment of this invention.

[0181] FIG. 26 shows the configuration of the file management system having the alteration preventing/detecting functions of the fourteenth embodiment of this invention. FIG. 27 is a flowchart showing the operation of the fourteenth embodiment of this invention.

[0182] In step S271 an access control information setting unit 242 sets and updates the setting of access control information 38. Various items are considered as a setting policy at the time of setting, for example,“once set to be unable to write, a sector shall never be set able to write again” can be considered.

[0183] In step S272 the access control information reading unit 241 reads the access control information 38 in the secure area 31, and if the access is not allowed, reports the refusal to the user.

[0184] If the access is allowed, in step S273 a sector access unit 251 receives an access (reading/writing) request, and accesses a sector (group) composed of the main-file 33 and sub-files 34 in the non-secure area 32 of the storage medium 3.

[0185] FIG. 28 shows the configuration of the file management system having the alteration preventing/detecting functions of the fifteenth embodiment of this invention. FIG. 29 is a flowchart showing the operation of the fifteenth embodiment of this invention.

[0186] In step S291 an access control information setting unit 132 converts files designated by a higher-order layer to a sector list using a main-file/sub-file—sector group correspondence table 133, and sends the sector list to the access control information setting unit 242 in the storage unit 2 together with an access mode such as read only/write only/read and write, etc.

[0187] In step S292 the access control information setting unit 242 in the storage unit 2 sets and updates the setting of the access control information 38 stored in the medium 3 according to the setting policy. As the setting policy in this case, for example,“once set to be unable to write, a sector shall be never set to be able to write again” is considered.

[0188] In step S293 a main-file/sub-file access unit 131 converts both main-file 33 and sub-files 34 to be accessed to a sector (group) according to the main-file/sub-file —sector group correspondence table 133, and issues a request to a sector access unit 251.

[0189] In step S294 the sector access unit 251 executes or refuses the sector access according to the access control information 38 read by the access control information reading unit 241.

[0190] FIG. 30 shows the configuration of the file management system having the alteration preventing/detecting functions of the sixteenth embodiment of this invention.

[0191] An arbitrary combination consisting of one, two or all of the medium ID 36, card ID 18 and master ID 17 in the fifth embodiment described with reference to FIG. 12, the sixth embodiment described with reference to FIG. 14, the seventh embodiment described with reference to FIG. 15, the eleventh embodiment described with reference to FIG. 22, the twelfth embodiment described with reference to FIG. 24 and the thirteenth embodiment described with reference to FIG. 25, can also be used.

[0192] In this case, for example, it is assumed that information for indicating a lot number is put in a part of the medium ID 36, and the specific lot is made from a material suited for long time preservation or is carefully surface-checked.

[0193] Since official documents have to be preserved for a long time, a file system reads the medium ID 36 when inserting a medium, and if the medium is not included in the above-mentioned special lot, reports to the user that the medium cannot be used.

[0194] It is needless to say that only if the functions of the present invention are to be executed, the present invention can be applied to a single apparatus, a system or integrated apparatus consisting of a plurality of apparatuses or a system in which the process can be executed via a network such as a LAN, etc.

[0195] As shown in FIG. 31 the present invention can be implemented in a system where a CPU 311, a ROM/RAM 312, an input unit 313, an output unit 314, an external storage unit 315, a medium driving unit 316, a portable storage medium 319 and a network connecting unit 317 are connected via a bus. That is, it is needless to say that the functions of the present invention can also be implemented by providing a system or apparatus with a ROM/RAM 312, an external storage unit 315 and a portable storage medium 319, in which software program codes for implementing the system of each above-mentioned embodiments are recorded, and executing the reading of the program codes by the computer (or CPU 311) of the system or apparatus.

[0196] In this case, the read program codes themselves implement the new functions of the present invention, and the portable storage medium 319, etc. in which the program codes are recorded only constructs the present invention.

[0197] As a portable storage medium 319 for supplying program codes, for example, a floppy disk, a hard disk, a magneto-optic disk, an optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM card, and various kinds of storage media storing the program codes accessed via a network connecting unit 317 (in other words, a communication circuit) such as an electronic mail, personal computer communication, etc. can be used.

[0198] By executing the program codes read by a computer, an OS operating in the computer, etc. executes a part or all of the actual process according to the instruction of the program codes, and thereby the functions of the above-mentioned embodiments can be implemented.

[0199] Furthermore, after the read program codes are written in a memory provided in a feature expansion board inserted in a computer or a feature expansion unit connected to a computer, a CPU provided in the feature expansion board or unit, etc. executes a part or all of the actual process, and thereby the functions of the above-mentioned embodiments can also be implemented.

[0200] As described so far, in the present invention a secure area is usually prevented from being accessed by users by means of, for example, the firmware of a storage unit, and as a result, authenticators, access logs, etc. related to data files cannot be altered.

[0201] By locating files and access logs, etc. related to data files in a non-secure area being a normal area and locating only the authenticators of the files in a secure area, the size of the secure area can be reduced.

Claims

1. A system for managing files comprising a computer and a storage unit, wherein

the computer comprises
reciprocal authenticating means for reciprocally authenticating the computer with the storage unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key storing means for storing the access allowing keys; and
file accessing means for sending an access request together with the access allowing key, and
the storage unit comprises
reciprocal authenticating means for reciprocally authenticating the storage unit with the computer and when the computer and the storage unit are authenticated with each other, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys;
access allowing key identification means for identifying if the access allowing key sent from the file accessing means and stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible.

2. The system for managing files according to claim 1, wherein the reciprocal authenticating means provided in said computer and said file accessing means are implemented by a unit of hardware.

3. A system for managing files, comprising:

sub-file storing means for storing one or a plurality of sub-files related to a main-file;
authentication information creating means for creating sub-file authentication information used to verify the sub-files; and
system file storing means for storing a system file to which the sub-file authentication information is related.

4. A system for managing files, comprising:

main-file storing means for storing a main-file;
authentication information creating means for creating main-file authentication information to be used to verify the main-file; and
sub-file storing means for storing at least one sub-file to which the main-file authentication information is related.

5. A system for managing files, comprising:

main-file storing means for storing a main-file;
sub-file storing means for storing at least one sub-file to which the main-file authentication information is related;
authentication information creating means for creating main-file authentication information to be used to verify the main-file/sub-file authentication information to be used to verify the sub-files; and
system file storing means for storing a system file to which the sub-file authentication information is related.

6. The system for managing files according to claim 5, wherein said main-file, said sub-files and said system files are stored in a non-secure area usually accessible.

7. The system for managing files according to claim 5, wherein said main-file, and said sub-files and said system files are stored in a non-secure area usually accessible and a secure area usually unaccessible, respectively.

8. The system for managing files according to claim 5, wherein said main-file and said sub-files, and said system files are stored in a non-secure area usually accessible and a secure area usually unaccessible, respectively.

9. The system for managing files according to claim 6, further comprising a computer and a storage unit, wherein

the computer comprises
reciprocal authenticating means for reciprocally authenticating the computer with the storage unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key storing means for storing the access allowing keys; and
file accessing means for sending an access request together with the access allowing key,
the storage unit comprises
reciprocal authenticating means for reciprocally authenticating the storage unit with the computer and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys; and
access allowing key identification means for identifying if the access allowing key sent from the file accessing means and stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible, and the authentication information creating means reads a medium ID peculiar to the medium stored in the secure area, and uses the medium ID to create the main-file authentication information and the sub-file authentication information after the computer and the storage unit are reciprocally authenticated.

10. The system for managing files according to claim 7, further comprising a computer and a storage unit, wherein

the computer comprises
reciprocal authenticating means for reciprocally authenticating the computer with the storage unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key storing means for storing all the access allowing keys; and
file accessing means for sending an access request together with the access allowing key,
the storage unit comprises
reciprocal authenticating means for reciprocally authenticating the storage unit with the computer and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys; and
access allowing key identification means for identifying if the access allowing key sent from the file accessing means and stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible, and
the authentication information creating means reads a medium ID peculiar to the medium stored in the secure area, and uses the medium ID to create the main-file authentication information and the sub-file authentication information after the computer and the storage unit are reciprocally authenticated.

11. The system for managing files according to claim 8, further comprising a computer and a storage unit, wherein

the computer comprises
reciprocal authenticating means for reciprocally authenticating the computer with the storing unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key storing means for storing the access allowing key; and
file accessing means for sending an access request together with the access allowing key,
the storage unit comprises
reciprocal authenticating means for reciprocally authenticating the storage unit with the computer and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys; and
access allowing key identification means for identifying if the access allowing key sent from the file accessing means and stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible, and
the authentication information creating means reads a medium ID peculiar to the medium stored in the secure area, and uses the medium ID to create the main-file authentication information and the sub-file authentication information after the computer and the storage unit are reciprocally authenticated.

12. The system for managing files according to claim 9, wherein

the reciprocal authenticating means provided in said computer and said file accessing means are implemented by means of hardware.

13. The system for managing files according to claim 9, wherein

the medium ID is a card ID.

14. The system for managing files according to claim 9, wherein

the medium ID is a master ID.

15. The system for managing files according to claim 9, wherein

said authentication information is created for each record of a file.

16. The system for managing files according to claim 10, wherein

said authentication information is created for each record of a file.

17. The system for managing files according to claim 11, wherein

said authentication information is created for each record of a file.

18. A system for managing files, comprising:

sub-file reading means for reading one or a plurality of sub-files related to a main-file;
authentication information creating means for creating sub-file authentication information from sub-files read by the sub-file reading means;
system file reading means for reading sub-file authentication information from a system file related to the sub-file; and
authentication information comparing means for comparing the sub-file authentication information created by the authentication information creating means with the sub-file authentication information read by the system file reading means.

19. A system for managing files, comprising:

main-file reading means for reading a main-file;
authentication information creating means for creating main-file authentication information from a main-file read by the main-file reading means;
sub-file reading means for reading main-file authentication information from sub-files related to the main-file; and
authentication information comparing means for comparing the main-file authentication information created by the authentication information creating means with the main-file authentication information read by the sub-file reading means.

20. A system for managing files, comprising:

main-file reading means for reading a main-file;
sub-file reading means for reading main-file authentication information from sub-files related to the main-file and one or a plurality of sub-files related to the main-file;
system file reading means for reading sub-file authentication information from a system file related to the sub-file;
authentication information creating means for creating main-file authentication information from a main-file read by the main-file reading means and creating sub-file authentication information from sub-files read by the sub-file reading means; and
an authentication information comparing means for comparing the main-file authentication information created by the authentication information creating means with the main-file authentication information read by the sub-file reading means and comparing the sub-file authentication information created by the authentication information creating means with the sub-file authentication information read by the system file reading means.

21. The system for managing files according to claim 20, wherein said main-file, said sub-files and said system file are stored in a non-secure area usually accessible.

22. The system for managing files according to claim 20, wherein said main-file, and said sub-files and said system file are stored in a non-secure area usually accessible and a secure area usually unaccessible, respectively.

23. The system for managing files according to claim 20, wherein said main-file and said sub-files, and said system file are stored in a non-secure area usually accessible and a secure area usually

unaccessible, respectively.

24. The system for managing files according to claim 21, further comprising a computer and a storage unit, wherein

the computer comprises reciprocal authenticating means for reciprocally authenticating the computer with the storing unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key storing means for storing the access allowing keys; and
file accessing means for sending an access request together with the access allowing key,
the storage unit comprises
reciprocal authenticating means for reciprocally authenticating the storage unit with the computer and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys; and
access allowing key identification means for identifying if the access allowing key sent from the file accessing means and stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible, and
the authentication information creating means reads a medium ID peculiar to the medium stored in the secure area, and uses the medium ID to create the main-file authentication information and the sub-file authentication information after the computer and the storage unit are reciprocally authenticated.

25. The system for managing files according to claim 22, further comprising a computer and a storage unit, wherein

the computer comprises
reciprocal authenticating means for reciprocally authenticating the computer with the storing unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key storing means for storing the access allowing key; and
file accessing means for sending an access request together with the access allowing key,
the storage unit comprises
reciprocal authenticating means for reciprocally authenticating the storage unit with the computer and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys; and
access allowing key identification means for identifying if the access allowing key sent from the file accessing means and stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible, and
the authentication information creating means reads a medium ID peculiar to the medium stored in the secure area, and uses the medium ID to create the main-file authentication information and the sub-file authentication information after the computer and the storage unit are reciprocally authenticated.

26. The system for managing files according to claim 23, further comprising a computer and a storage unit, wherein

the computer comprises
reciprocal authenticating means for reciprocally authenticating the computer with the storing unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key storing means for storing all the access allowing keys; and
file accessing means for sending an access request together with the access allowing key,
the storage unit comprises
reciprocal authenticating means for reciprocally authenticating the storage unit with the computer and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys; and
access allowing key identification means for identifying if the access allowing key sent from the file accessing means and stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible, and
the authentication information creating means reads a medium ID peculiar to the medium stored in the secure area, and uses the medium ID to create the main-file authentication information and the sub-file authentication information after the computer and the storage unit are reciprocally authenticated.

27. The system for managing files according to claim 24, wherein

the reciprocal authenticating means provided in said computer and said file accessing means are implemented by means of hardware.

28. The system for managing files according to claim 24, wherein

the medium ID is a card ID.

29. The system for managing files according to claim 24, wherein

the medium ID is a master ID.

30. The system for managing files according to claim 24, wherein

said authentication information is created for each record of a file.

31. The system for managing files according to claim 1, wherein

said secure area accessing means further comprises
access control information reading means for reading access control information stored in said secure area, and
said storage unit further comprises
sector accessing means for accessing a main-file or sub-files related to the main-file in units of sectors or sector groups according to the access control information.

32. The system for managing files according to claim 31, wherein

said secure area accessing means further comprises
access control information setting means for setting access control information in said secure area.

33. The system for managing files according to claim 9, wherein

authentication information is created using one, two or all of said medium ID, said card ID and said master ID.

34. The system for managing files according to claim 24, wherein

authentication information is created using one, two or all of said medium ID, said card ID and said master ID.

35. A computer, comprising:

reciprocal authenticating means for reciprocally authenticating the computer with a storing unit and when the computer and the storage, unit are reciprocally authenticated, creating access allowing keys; and
access allowing key storing means for storing the access allowing keys; and
file accessing means for sending an access request together with the access allowing key.

36. A storage unit, comprising:

reciprocal authenticating means for reciprocally authenticating the storage unit with a computer and when the computer and the storage unit are authenticated with each other, creating access allowing keys;
access allowing key group storing means for storing all the access allowing keys;
access allowing key identification means for identifying if the access allowing key stored in the access allowing key storing means and at least one access allowing key stored in the access allowing key group storing means, are the same; and
secure area accessing means for accessing a secure area usually unaccessible.

37. A method of managing files, comprising the steps of:

reciprocally authenticating between a computer and a storage unit and when the computer and the storage unit are reciprocally authenticated, creating an access allowing key;
storing the access allowing key;
storing all the access allowing keys;
sending an access request together with the access allowing key;
identifying if the access allowing key stored in the access allowing key storing step and at least one access allowing key stored in the access allowing key group storing step, are the same; and
accessing a secure area usually unaccessible.

38. A method of managing files, comprising the steps of:

storing one or a plurality of sub-files related to a main-file;
creating sub-file authentication information used to verify the sub-files; and
storing a system file to which the sub-file authentication information is related.

39. A method of managing files, comprising the steps of:

storing a main-file;
creating main-file authentication information to be used to verify the main-file; and
storing at least one sub-file to which the main-file authentication information is related.

40. A method of managing files, comprising the steps of:

storing a main-file;
storing at least one sub-file to which the main-file authentication information is related;
creating main-file authentication information to be used to verify the main-file/sub-file authentication information to be used to verify the sub-files; and
storing a system file to which the sub-file authentication information is related.

41. A method of managing files, comprising the steps of:

reading one or a plurality of sub-files related to a main-file;
creating sub-file authentication information from sub-files;
reading sub-file authentication information from a system file related to the sub-file; and
comparing the sub-file authentication information from the sub-files with the sub-file authentication information from the system file.

42. A method of managing files, comprising the steps of:

reading a main-file;
creating main-file authentication information from the main-file;
reading main-file authentication information from sub-files related to the main-file; and
comparing the main-file authentication information from the main-file with the main-file authentication information from the sub-file.

43. A method of managing files, comprising the steps of:

reading a main-file;
reading main-file authentication information from sub-files related to the main-file and one or a plurality of sub-files related to the main-file;
reading sub-file authentication information from a system file related to the sub-file;
creating main-file authentication information from a main-file and creating sub-file authentication information from sub-files; and
comparing the main-file authentication information from the sub-file with the main-file authentication information from the main-file and comparing the sub-file authentication information from the system file with the sub-file authentication information from the sub-file.

44. A method of managing files, comprising the steps of:

reciprocally authenticating a computer with a storing unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys; and
storing the access allowing keys; and
sending an access request together with the access allowing key.

45. A method of managing files, comprising the steps of:

reciprocally authenticating a storage unit with a computer and when the computer and the storage unit are authenticated with each other, creating access allowing keys;
storing all the access allowing keys;
identifying if the access allowing key and at least one access allowing key, are the same; and
accessing a secure area usually unaccessible.

46. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

a reciprocal authenticating step of reciprocally authenticating between a computer and a storage unit and when the computer and the storage unit are reciprocally authenticated, creating an access allowing key;
an access allowing key storing step of storing the access allowing key;
an access allowing key group storing step of storing all the access allowing keys;
a file accessing step of sending an access request together with the access allowing key;
an access allowing key identifying step of identifying if the access allowing key stored in the access allowing key storing process and at least one access allowing key stored in the access allowing key group storing step, are the same; and
a secure area accessing step of accessing a secure area usually unaccessible.

47. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

sub-file storing step of storing one or a plurality of sub-files related to a main-file;
authentication information creating step of creating sub-file authentication information used to verify the sub-files; and
system file storing step of storing a system file to which the sub-file authentication information is related.

48. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

main-file storing step of storing a main-file;
authentication information creating step of creating main-file authentication information to be used to verify the main-file; and
sub-file storing step of storing at least one sub-file to which the main-file authentication information is related.

49. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

main-file storing step of storing a main-file;
sub-file storing step of storing at least one sub-file to which the main-file authentication information is related;
authentication information creating step of creating main-file authentication information to be used to verify the main-file/sub-file authentication information to be used to verify the sub-files; and
system file storing step of storing a system file to which the sub-file authentication information is related.

50. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

sub-file reading step of reading one or a plurality of sub-files related to a main-file;
authentication information creating step of creating sub-file authentication information from sub-files;
system file reading step of reading sub-file authentication information from a system file related to the sub-file; and
authentication information comparing step of comparing the sub-file authentication information from the sub-file with the sub-file authentication information from the system file.

51. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

main-file reading step of reading a main-file;
authentication information creating step of creating main-file authentication information from a main-file;
sub-file reading step of reading main-file authentication information from sub-files related to the main-file; and
authentication information comparing step of comparing the main-file authentication information from the main-file with the main-file authentication information from the sub-file.

52. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

main-file reading step of reading a main-file;
sub-file reading step of reading main-file authentication information from sub-files related to the main-file and one or a plurality of sub-files related to the main-file;
system file reading step of reading sub-file authentication information from a system file related to the sub-file;
authentication information creating step of creating main-file authentication information from a main-file and creating sub-file authentication information from sub-files; and
authentication information comparing step of comparing the main-file authentication information from the sub-file with the main-file authentication information from the main-file and comparing the sub-file authentication information from the sub-file with the sub-file authentication information from the main-file.

53. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

reciprocal authenticating step of reciprocally authenticating a computer with a storing unit and when the computer and the storage unit are reciprocally authenticated, creating access allowing keys; and
access allowing key storing step of storing the access allowing keys; and
file accessing step of sending an access request together with the access allowing key.

54. A computer readable storage medium having a recorded file management program for enabling a computer to execute:

reciprocal authenticating step of reciprocally authenticating a storage unit with a computer and when the computer and the storage unit are authenticated with each other, creating access allowing keys;
access allowing key group storing step of storing all the access allowing keys;
access allowing key identification step of identifying if the access allowing key and at least one access allowing key, are the same; and
secure area accessing step of accessing a secure area usually unaccessible.
Patent History
Publication number: 20020049911
Type: Application
Filed: Nov 5, 2001
Publication Date: Apr 25, 2002
Applicant: FUJITSU LIMITED (Kawasaki)
Inventors: Jun Kamada (Kawasaki-shi), Yasutsugu Kuroda (Kawasaki-shi), Etsuo Ono (Kawasaki-shi)
Application Number: 09985677
Classifications
Current U.S. Class: 713/200
International Classification: G06F012/14;