Management device, control method, program, and access control system

By pre-acquiring and storing access authority information, the management device efficiently determines user access rights, reducing file access time and server load in shared file environments.

JP7537782B2Active Publication Date: 2024-08-21NEC CORP +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022530467
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-06-11
Publication Date
2024-08-21
Estimated Expiration
2040-06-11

AI Technical Summary

Technical Problem

The existing file access control systems require significant time to respond to user requests due to the management server acquiring access right information from a cooperation server at the time of request, thereby increasing the time needed for file access.

Method used

A management device acquires and stores access authority information from a server device, determining user access rights locally before providing decryption keys, thus reducing the need for real-time server access and shortening the file access time.

Benefits of technology

This approach reduces the time required for file access by pre-acquiring and storing access authority information, minimizing server load and response time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537782000002
    Figure 0007537782000002
  • Figure 0007537782000003
    Figure 0007537782000003
  • Figure 0007537782000001
    Figure 0007537782000001
Patent Text Reader

Abstract

Access permission information (20) indicative of a user's access permission to access a target file (10) is stored in a storage device (3100) which can be accessed from a server device (3000). A management device (4000) acquires the access permission information (20) from the server device (3000) and stores the access permission information (20) in a storage device (4100). The management device (4000) acquires, from a user device (2000) which is operated by a target user (40), a request to provide key information to be used to decode the target file (10). In response to the acquisition of the request, the management device (4000) uses the access permission information (20) stored in the storage device (4100) to determine whether the target user (40) has the access permission to access the target file (10). When the target user (40) is determined to have the access permission to access the target file (10), the management device (4000) outputs the key information to the user device (2000).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to access control for files. [Background technology]

[0002] Technologies for sharing files among multiple users via a network have been developed. In such file sharing, file encryption and access control based on access authority are implemented to prevent unauthorized use of the files.

[0003] For example, Patent Document 1 is a prior art document that discloses a technology for realizing such shared file management. Patent Document 1 discloses a system that controls access to files by a user device. When a user device accesses an encrypted shared file, the user device requests a decryption key from a management server. The management server that receives this request obtains, from a cooperation server, access rights information for a shared folder in which the shared file is stored. The management server transmits the decryption key and the access rights information to the user device. The user device uses the obtained decryption key in accordance with the access rights indicated in the obtained access rights information to use the shared file. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] International Publication No. 2017 / 064780 Summary of the Invention [Problem to be solved by the invention]

[0005] The management server in Patent Document 1 obtains access right information from the link server when it receives a request from a user device. This increases the time required to respond to the request from the user device. As a result, it increases the time required for the user to access a file.

[0006] The present invention has been made in view of the above problems, and one of its objects is to provide a technique for shortening the time required to access a file in an environment in which files are shared using a server. [Means for solving the problem]

[0007] The management device of the present invention has a storage processing unit that acquires access authority information indicating a user's access authority for each file stored in an encrypted state in a first storage device from a server device that manages the access authority information, and stores the information in a second storage device; an acquisition unit that acquires a request for key information to be used to decrypt the target file from a user device operated by the target user; a determination unit that, in response to acquiring the request, uses the access authority information stored in the second storage device to determine whether the target user has access authority to the target file; and an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file.

[0008] The control method of the present invention is executed by a management device. The control method includes a storage process step of acquiring access authority information indicating a user's access authority for each file stored in an encrypted state in a first storage device from a server device that manages the access authority information, and storing the information in a second storage device, an acquisition step of acquiring a request for provision of key information used to decrypt a target file from a user device operated by a target user, a determination step of determining whether the target user has access authority to the target file by using the access authority information stored in the second storage device in response to the acquisition of the request, and an output step of outputting the key information to the user device when it is determined that the target user has access authority to the target file.

[0009] A computer-readable medium according to the present invention stores a program for causing a management device to execute a control method according to the present invention.

[0010] The access control system of the present invention includes a user device, a server device, and a management device. The user device transmits a request to the management device for key information to be used for decrypting a target file accessed by the target user. The management device has a storage processing unit that acquires access authority information indicating user access authority for each file stored in an encrypted state in a first storage device from the server device, and stores the information in a second storage device; an acquisition unit that acquires the request from the user device; a determination unit that, in response to acquiring the request, uses the access authority information stored in the second storage device to determine whether the target user has access authority to the target file; and an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file. The user device decrypts the target file using the key information output from the management device. Effect of the Invention

[0011] A technique is provided for shortening the time required to access a file in an environment in which files are shared using a server. [Brief description of the drawings]

[0012] [Figure 1] FIG. 2 is a diagram illustrating an example of an outline of the operation of a management device according to the first embodiment. [Diagram 2] 2 is a block diagram illustrating a functional configuration of a management device according to the first embodiment. [Diagram 3] FIG. 2 is a block diagram illustrating a hardware configuration of a computer that realizes a management device. [Figure 4] 4 is a flowchart illustrating a flow of a process executed by a management device according to the first embodiment. [Diagram 5] FIG. 13 is a diagram conceptually explaining access control based on a reference position. [Figure 6] FIG. 1 is a diagram illustrating a specific implementation example of an access control system. [Figure 7] FIG. 2 is a diagram illustrating an example of the flow of access control in an access control system according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In each drawing, the same or corresponding elements are denoted by the same reference numerals, and duplicated descriptions will be omitted as necessary for clarity of explanation.

[0014] Fig. 1 is a diagram illustrating an example of an outline of the operation of the management device 4000 according to the first embodiment. Here, Fig. 1 is a diagram for facilitating understanding of the outline of the management device 4000, and the operation of the management device 4000 is not limited to that shown in Fig. 1.

[0015] The management device 4000, together with the user device 2000 and the server device 3000, constitutes an access control system 5000. In the access control system 5000, access control is performed on file access by the user device 2000 based on access authority.

[0016] Here, among the files accessed by the user device 2000, a file for which access control using the access control system 5000 is performed is referred to as a target file 10. The storage device in which the target file 10 is stored may be any storage device accessible from the user device 2000, and may be provided either inside or outside the user device 2000.

[0017] Furthermore, the target file 10 is stored in an encrypted state in the storage device, so in the access control system 5000, in addition to controlling access to the target file 10, the target file 10 is also decrypted.

[0018] The user device 2000 is a device used by a user, and accesses the target file 10. Here, the user who uses the user device 2000 is called the target user 40. The target file 10 may be accessed in response to an operation by the target user 40, or may be automatically accessed by software running on the user device 2000. FIG. 1 illustrates an example of a case in which the target file 10 is accessed in response to an operation by the target user 40.

[0019] The server device 3000 is a device that creates and manages information (hereinafter, referred to as access authority information 20) regarding access authority for the target file 10. The access authority information 20 is stored in a storage device 3100 that is a storage device accessible from the server device 3000.

[0020] The management device 4000 is a server device that manages information required to decrypt the target file 10. The management device 4000 also acquires access authority information 20 from the server device 3000, and stores it in a storage device 4100 that is a storage device accessible from the management device 4000.

[0021] When the target file 10 is used on the user device 2000, the user device 2000 transmits a request (hereinafter, access request) to the management device 4000 for information (hereinafter, key information) required to decrypt the target file 10. In response to the access request, the management device 4000 determines whether the target user 40 has authority to access the target file 10 (access authority to the target file 10). When making this determination, the management device 4000 uses the access authority information 20 stored in the storage device 4100.

[0022] If the target user 40 has access authority to the target file 10, the management device 4000 provides key information to the user device 2000. The user device 2000 decrypts the target file 10 using the key information. For example, the key information includes a decryption key for decrypting the target file 10. In this case, the user device 2000 decrypts the target file 10 with the decryption key included in the key information. However, the data included in the key information is not limited to the decryption key.

[0023] <Example of action and effect> In this embodiment, the management device 4000, which provides the user device 2000 with key information required to decrypt the target file 10, judges whether the target user 40 has access authority to the target file 10 before providing the key information. Here, the management device 4000 obtains the access authority information 20 used for the judgment from the server device 3000 in advance and stores it in the storage device 4100 accessible from the management device 4000. Therefore, the management device 4000 does not need to access the server device 3000 when judging the presence or absence of the access authority. Therefore, the time required to judge the presence or absence of the access authority is shortened compared to the case where the server device 3000 must be accessed every time the presence or absence of the access authority is judged. As a result, the time required to access the target file 10 is shortened.

[0024] In addition, in this embodiment, since the access authority information 20 is acquired in advance, the management device 4000 does not need to acquire the access authority information 20 every time an access request is received. Therefore, there is also an advantage that the load on the server device 3000 and the management device 4000 can be reduced.

[0025] The user device 2000 of this embodiment will be described in more detail below.

[0026] <Example of functional configuration> 2 is a block diagram illustrating an example of the functional configuration of the management device 4000 of embodiment 1. As described above, the management device 4000, together with the user device 2000 and the server device 3000, constitutes an access control system 5000. The management device 4000 includes a storage processing unit 4020, a request acquisition unit 4040, a determination unit 4060, and an output unit 4080.

[0027] The storage processing unit 4020 acquires the access authority information 20 from the server device 3000 and stores it in the storage device 4100. The request acquisition unit 4040 acquires an access request requesting key information for the target file 10 from the user device 2000. In response to the acquisition of the access request, the determination unit 4060 uses the access authority information 20 stored in the storage device 4100 to determine whether the target user 40 has access authority to the target file 10. If it is determined that the target user 40 has access authority to the target file 10, the output unit 4080 outputs the key information to the user device 2000.

[0028] <Example of hardware configuration> Each functional component of the management device 4000 may be realized by hardware that realizes each functional component (e.g., a hardwired electronic circuit, etc.), or may be realized by a combination of hardware and software (e.g., a combination of an electronic circuit and a program that controls it, etc.). Below, a further explanation will be given of the case where each functional component of the management device 4000 is realized by a combination of hardware and software.

[0029] 3 is a block diagram illustrating an example of a hardware configuration of a computer 500 that realizes the management device 4000. The computer 500 is any computer. For example, the computer 500 is a stationary computer such as a PC (Personal Computer) or a server machine. In addition, for example, the computer 500 is a portable computer such as a smartphone or a tablet terminal. The computer 500 may be a dedicated computer designed to realize the management device 4000, or may be a general-purpose computer.

[0030] For example, by installing a specific application in the computer 500, each function of the management device 4000 is realized by the computer 500. The application is configured by a program for realizing the functional components of the management device 4000.

[0031] The computer 500 has a bus 502, a processor 504, a memory 506, a storage device 508, an input / output interface 510, and a network interface 512. The bus 502 is a data transmission path for the processor 504, the memory 506, the storage device 508, the input / output interface 510, and the network interface 512 to transmit and receive data to and from each other. However, the method of connecting the processor 504 and other components to each other is not limited to a bus connection.

[0032] The processor 504 is a processor such as a central processing unit (CPU), a graphics processing unit (GPU), or a field-programmable gate array (FPGA). The memory 506 is a main storage device realized using a random access memory (RAM) or the like. The storage device 508 is an auxiliary storage device realized using a hard disk, a solid state drive (SSD), a memory card, or a read only memory (ROM) or the like.

[0033] The input / output interface 510 is an interface for connecting the computer 500 to an input / output device. For example, the input / output interface 510 is connected to an input device such as a keyboard and an output device such as a display device.

[0034] The network interface 512 is an interface for connecting the computer 500 to a network. This network may be a LAN (Local Area Network) or a WAN (Wide Area Network).

[0035] The storage device 508 stores a program (a program for realizing the above-mentioned application) for realizing each functional component of the management device 4000. The processor 504 reads this program into the memory 506 and executes it to realize each functional component of the management device 4000. The storage device 508 may also store access authority information 20. In this case, the storage device 4100 is realized by the storage device 508. However, the storage device 4100 may be realized by a storage device other than the storage device 508.

[0036] The management device 4000 may be realized by one computer 500, or may be realized by multiple computers 500. In the latter case, the configurations of the computers 500 do not need to be the same, and can be different from each other.

[0037] Like the management device 4000, the user device 2000 and the server device 3000 are also realized by various computers. The computer that realizes the user device 2000 and the computer that realizes the server device 3000 have the hardware configuration shown in Fig. 3, like the computer 500 that realizes the management device 4000. However, the hardware configurations of the computers that realize the user device 2000, the server device 3000, and the management device 4000 may be different from each other. Furthermore, each of the user device 2000 and the server device 3000 may be realized by multiple computers.

[0038] The computers that realize the user device 2000, the server device 3000, and the management device 4000 are communicatively connected via a network. The network that connects them to each other may be a LAN or a WAN. Two of these three may be connected to each other via a LAN, and the remaining one may be connected to the other via a WAN. For example, the server device 3000 and the management device 4000 are provided in the same LAN, and the user device 2000 is connected to the server device 3000 and the management device 4000 via the WAN.

[0039] <Processing flow> Fig. 4 is a flowchart illustrating the flow of processing executed by the management device 4000 of the first embodiment. Two flowcharts are shown in Fig. 4. The flowchart on the left side shows the flow of processing for acquiring the access authority information 20. Meanwhile, the flowchart on the right side shows the flow of processing performed when an access request is acquired from the user device 2000.

[0040] First, the flowchart on the left side will be described. The storage processing unit 4020 acquires the access authority information 20 from the server device 3000 (S102). The storage processing unit 4020 stores the acquired access authority information 20 in the storage device 4100 (S104).

[0041] Next, the flowchart on the right side will be described. The request acquisition unit 4040 acquires an access request from the user device 2000 (S202). In response to the acquisition of the access request, the judgment unit 4060 uses the access authority information 20 stored in the storage device 4100 to judge whether the target user 40 has access authority to the target file 10 (S204). If it is judged that the target user 40 has access authority to the target file 10 (S204: YES), the output unit 4080 outputs the key information to the user device 2000 (S206).

[0042] Any process may be performed when it is determined that the target user 40 does not have the access authority to the target file 10 (S204: NO). For example, the management device 4000 transmits a notification to the user device 2000 indicating that the target user 40 does not have the access authority to the target file 10.

[0043] The process performed by the user device 2000 upon receiving the notification is also arbitrary. When the target file 10 is accessed in response to a user operation, for example, the user device 2000, upon receiving the notification, outputs an error message to a display device or the like viewed by the target user 40, indicating that the target file 10 cannot be accessed because the target user 40 does not have access authority. Also, when the target file 10 is accessed by software running on the user device 2000, for example, upon receiving the notification, the user device 2000 notifies the software of an error indicating that the software does not have authority to access the target file 10.

[0044] <About sending an access request> When an access occurs to the target file 10 in the user device 2000, the above-mentioned request is transmitted to the management device 4000. Therefore, the user device 2000 detects that an access has been made to the target file 10. Here, various existing technologies can be used as a technology for detecting an access to a file that is subject to a specific control.

[0045] For example, the user device 2000 detects an access to an arbitrary file and judges whether or not the file is the target file 10. This judgment can be realized, for example, by referring to the metadata of the accessed file. For example, a specific flag is set in the metadata of the target file 10 (i.e., the metadata of the file to which access control is performed by the access control system 5000). When an access to a file is detected, the user device 2000 judges whether or not the above flag is included in the metadata of the file. If the above flag is included in the metadata of the accessed file, the user device 2000 judges that the accessed file is the target file 10. On the other hand, if the above flag is not included in the metadata of the accessed file, the user device 2000 judges that the accessed file is not the target file 10.

[0046] Furthermore, metadata other than the above-mentioned flag may be used to determine whether or not an accessed file is the target file 10. For example, information indicating a reference position, which will be described later, and an encryption key used to encrypt the target file 10 may be included in the metadata of the target file 10. In this way, these pieces of information can be used in the same way as the above-mentioned flag.

[0047] Alternatively, for example, the directories in which the target file 10 can be stored are limited to only specific directories (hereinafter, target directories). In this case, when access to a file is detected, the user device 2000 determines whether or not the file is stored in the target directory. If the accessed file is stored in the target directory, the user device 2000 determines that the file is the target file 10. On the other hand, if the accessed file is not stored in the target directory, the user device 2000 determines that the file is not the target file 10. Note that there may be multiple target directories.

[0048] Information defining the target directory is stored, for example, in a storage device accessible from the user device 2000. Alternatively, for example, a flag indicating that the directory is a target directory may be provided in the metadata of the directory.

[0049] <About access rights> Here, the access authority managed by the server device 3000 will be described. The access authority may be set for each user or for each group of users. In addition, the access authority may be set individually for each of various operations on a file, or may be set collectively for all operations.

[0050] Access authority may be set for each file or for each group of files. In the latter case, for example, access authority is set for the location (directory) where the file is stored. That is, the same access authority is set for target files 10 stored in the same directory. Note that, when a subdirectory is stored in the directory for which access authority is set, it is preferable that the same access authority is recursively set for files and subdirectories stored in the subdirectory.

[0051] In addition, when there exists both an access right set for a file and an access right set for a group to which the file belongs, the method of handling the case is arbitrary. For example, only one of the two types may be applied.

[0052] In addition, when an access right is set for a directory, the access right for a certain file may be an access right set for a directory where the file was previously stored (hereinafter, referred to as a reference position) instead of the directory where the file is currently stored. For example, assume that the target file 10 stored in the file server is copied to the user device 2000. Then, assume that the user device 2000 accesses the target file 10 stored in the user device 2000 thereafter. In this case, it is conceivable to set the storage location on the file server as the reference position of the target file 10. In such a situation, by utilizing the access right set for the reference position, access control based on the access right set for the storage location on the file server can be realized even after the target file 10 is copied to the user device 2000.

[0053] Fig. 5 is a diagram conceptually explaining access control based on a reference location. In Fig. 5, a file f1 is stored in a directory / dir1 / dir2 / dir3 provided in a file server 50. And, / dir1 / dir2 / dir3 of the file server 50 is set as the reference location of the file f1.

[0054] 5, the file f1 is copied from / dir1 / dir2 / dir3 of the file server 50 to / dir4 / dir5 of the user device 2000. In this case, when the target file 10 copied to the user device 2000 is accessed, the access to the target file 10 is controlled based on the access authority set for the reference location " / dir1 / dir2 / dir3 of the file server 50" rather than the current location " / dir4 / dir5 of the user device 2000". Therefore, for example, even if the target user 40 operating the user device 2000 has the access authority to the file stored in / dir4 / dir5, if the target user 40 does not have the access authority to / dir1 / dir2 / dir3, the target file 10 stored in / dir4 / dir5 cannot be accessed.

[0055] Also, assume that the file f1 is deleted in the file server 50. In this case, the file f1 copied to the user device 2000 may be made inaccessible even to the target user 40 who has the access authority to the reference position of the file f1. To realize this operation, it is necessary to know which file on the file server 50 the file copied to the user device 2000 corresponds to. Various existing methods can be adopted as a method for realizing this understanding. For example, the metadata of the file copied to the user device 2000 includes the path of the file on the file server 50, which is the original data of the file. In addition, when determining whether the target user 40 has the access authority to the target file 10, it is also determined whether the file on the file server 50, which is the original data of the target file 10, has been deleted, and if it has been deleted, it is determined that the target user 40 does not have the access authority.

[0056] The reference position of the target file 10 may be updatable. For example, a specific user is given the authority to change the reference position of the target file 10. In this case, it is assumed that the target file 10 stored in the file server 50 is moved to another directory in the file server 50 by the user. At this time, for example, the file server 50 allows the user to select whether or not to change the reference position of the moved target file 10 to the destination directory. If changing the reference position is selected, the server device 3000 sets the destination directory as a new reference position of the moved target file 10. On the other hand, if not changing the reference position is selected, the reference position is not changed. The server device 3000 does not need to ask the user to make a selection. In this case, if the target file 10 is moved by a user who has the authority to change the reference position, the reference position of the target file 10 is automatically changed.

[0057] In addition to the normal move, a move operation accompanied by a change in the reference position may be performed. In this case, when a normal move operation is performed on the target file 10, the reference position of the target file 10 is not changed. On the other hand, when a move operation accompanied by a change in the reference position is performed, the reference position of the target file 10 is changed to the destination directory.

[0058] Any method can be used to enable two types of movement operations, normal movement and movement with a change of the reference position. For example, a movement operation performed with the left mouse button can be treated as a normal movement operation, and a movement operation performed with the right mouse button can be treated as a movement operation with a change of the reference position.

[0059] In the above explanation, the reference position is updated when a file is moved, but the reference position may be updated when a file is copied in a similar manner. In this case, different reference positions are set for two files with the same content. That is, the reference position of the copied file is not changed, and the destination directory is set as the reference position for the file created by copying.

[0060] <About Access Permission Information 20> The access authority information 20 is information in which the access authority set as described above is recorded. There are various specific configuration methods for the access authority information 20. For example, the access authority information 20 indicates 1) user identification information, 2) identification information (e.g., path) of a file or directory that the user specified by the identification information can access, and 3) the type of access (read, write, execute, etc.) that the user is permitted to have to the file or directory in association with each other. Alternatively, for example, the access authority information 20 may indicate 1) file or directory identification information, 2) identification information of a user that can access the file or directory, and 3) the type of access that each user is permitted to have to the file or directory in association with each other.

[0061] <Obtaining access permission information 20> The storage processing unit 4020 acquires the access authority information 20 from the server device 3000 (S102) and stores it in the storage device 4100 (S104). If the access authority information 20 is not stored in the storage device 4100 (for example, when the management device 4000 is started for the first time), for example, the management device 4000 acquires all the access authority information 20 from the server device 3000 and stores it in the storage device 4100. On the other hand, if the access authority information 20 has already been stored in the storage device 4100, the management device 4000 updates the access authority information 20 stored in the storage device 4100. This is because the access authority information 20 stored in the storage device 3100 may be updated.

[0062] Various methods can be adopted for updating the access authority information 20 stored in the storage device 4100 in this way. For example, the storage processing unit 4020 transmits an update request to the server device 3000, requesting the provision of updated contents of the access authority information 20. In response to receiving the update request, the server device 3000 transmits the updated part of the access authority information 20 (hereinafter, the updated part) to the storage processing unit 4020. The storage processing unit 4020 reflects the updated part acquired from the server device 3000 in the access authority information 20 stored in the storage device 4100.

[0063] For example, the storage processing unit 4020 repeatedly transmits the update request at a predetermined frequency. frequency may be a fixed value or may be changed. In the latter case, for example, the storage processing unit 4020 increases the transmission frequency of update requests as the request acquisition unit 4040 acquires access requests more frequently (i.e., as the access to the target file 10 occurs more frequently).

[0064] The access authority information 20 may be updated under the initiative of the server device 3000 (i.e., without an update request from the storage processing unit 4020). In this case, for example, the server device 3000 transmits an updated portion of the access authority information 20 to the storage processing unit 4020 at a predetermined frequency. In response to receiving an updated portion of the access authority information 20 from the server device 3000, the storage processing unit 4020 reflects the updated portion in the access authority information 20 stored in the storage device 4100.

[0065] The frequency with which the server device 3000 transmits the updated portion of the access authority information 20 may be a fixed value or may be changed, similar to the frequency with which the storage processing unit 4020 transmits an update request. In the latter case, for example, the higher the update frequency of the access authority information 20 stored in the storage device 3100, the more frequently the server device 3000 transmits the updated portion of the access authority information 20 to the management device 4000.

[0066] Alternatively, for example, the server device 3000 may transmit the contents of the update to the management device 4000 every time the access authority information 20 stored in the storage device 3100 is updated.

[0067] <Acquisition of access request and determination of access authority: S202, S204> The request acquisition unit 4040 acquires an access request from the user device 2000 (S202). Then, the determination unit 4060 determines whether or not the target user 40 has access authority to the target file 10 (S204). Here, the access request includes information necessary for determining whether or not the target user 40 has access authority to the target file 10. A specific description will be given below.

[0068] For example, the access request includes the identification information of the target user 40, the identification information of the target file 10, and the type of access. In this case, for example, the determination unit 4060 compares the association of "identification information of the target user 40, identification information of the target file 10, and type of access" indicated in the access request with the association of "identification information of the user, identification information of the file or directory, and type of permitted access" indicated in the access authority information 20, thereby determining whether or not the target user 40 is permitted to access the target file 10.

[0069] A specific method for implementing the above comparison is arbitrary. For example, the determination unit 4060 searches the access authority information 20 stored in the storage device 4100 with a combination of "identification information of the target user 40 and identification information of the target file 10" indicated in the request, thereby identifying the type of access permitted to the target user 40 to the target file 10. Then, the determination unit 4060 determines whether the type of access indicated in the access request is included in the types of access permitted to the target user 40 to the target file 10. If the type of access indicated in the access request is included in the types of permitted access, the determination unit 4060 determines that "the target user 40 has access authority." On the other hand, if the type of access indicated in the access request is not included in the types of permitted access, the determination unit 4060 determines that "the target user 40 does not have access authority."

[0070] As described above, there are also cases where the reference position is used to determine the access authority. In this case, the reference position is used instead of the identification information of the target file 10 in the above-mentioned method. For example, in this case, the access request includes a combination of "identification information of the target user 40, reference position, and type of access". The determination unit 4060 searches the access authority information 20 stored in the storage device 4100 for the combination of "identification information of the target user 40, reference position" indicated in the access request, thereby identifying the type of access permitted to the target user 40 at the reference position. If the type of access indicated in the access request is included in the type of access permitted to the target user 40 at the reference position, the determination result is "the target user 40 has access authority". On the other hand, if the type of access indicated in the access request is not included in the type of access permitted to the target user 40 at the reference position, the determination result is "the target user 40 does not have access authority".

[0071] <Decryption of target file 10: S206> If it is determined that the target user 40 has access authority (S204: YES), the output unit 4080 outputs the key information of the target file 10 to the user device 2000 (S206). The user device 2000 uses the key information output from the output unit 4080 to decrypt the target file 10.

[0072] The key information may be 1) a decryption key used to decrypt the target file 10, or 2) information that can be used to generate the decryption key. Specific examples of each case will be given below.

[0073] <<Case 1>> For example, in this case, the management device 4000 transmits key information including a decryption key for decrypting the target file 10 to the user device 2000 as a response to the access request. For example, it is assumed that the decryption key for decrypting the target file 10 can be generated from the encryption key used to encrypt the target file 10. In this case, the access request includes the encryption key used to encrypt the target file 10. The output unit 4080 generates a decryption key from the encryption key included in the access request, generates key information including the generated decryption key, and transmits it to the user device 2000.

[0074] Here, in order to include the encryption key used to encrypt the target file 10 in the access request, the user device 2000 needs to be able to acquire the encryption key. The method of acquisition is arbitrary. For example, the encryption key used to encrypt the target file 10 is stored together with the target file 10 in a storage device accessible from the user device 2000 (for example, stored as one of the metadata of the target file 10). In this case, the user device 2000 accesses the storage device to acquire the encryption key stored in association with the target file 10.

[0075] The data used to generate the decryption key is not limited to the encryption key, but may be any data.

[0076] Furthermore, the decryption key corresponding to the encryption key may be stored in advance in a storage device accessible from the management device 4000. In this case, the management device 4000 obtains the decryption key by searching the storage device with the encryption key included in the access request, and transmits key information including the decryption key to the user device 2000.

[0077] The user device 2000 decrypts the target file 10 with the decryption key included in the key information acquired by the various methods described above. Note that existing technology can be used to decrypt an encrypted file with the decryption key.

[0078] <<Case 2)>> In this case, the user device 2000 has a function of obtaining a decryption key using key information. For example, as described above, it is assumed that the decryption key can be generated from the encryption key. In this case, for example, the identification information of the target file 10 and the encryption key used to encrypt the target file 10 are stored in a storage device accessible from the management device 4000 in association with each other. The access request includes the identification information of the target file 10.

[0079] The output unit 4080 obtains from the storage device an encryption key corresponding to the identification information of the target file 10 included in the access request, and generates key information including the encryption key. The output unit 4080 then transmits the generated key information to the user device 2000.

[0080] The user device 2000 generates a decryption key from the encryption key included in the key information provided by the management device 4000. Then, the user device 2000 decrypts the target file 10 with the generated decryption key.

[0081] <Post-decryption processing> The user device 2000 can access the decrypted target file 10. For example, if the operation performed on the target file 10 is a read, the user device 2000 can read the contents of the decrypted target file 10. In addition, for example, if the operation performed on the target file 10 is a write, the user device 2000 can make changes to the contents of the decrypted target file 10.

[0082] <Specific example of realization of the access control system 5000> Here, in order to further facilitate understanding of the access control system 5000, a specific implementation example of the access control system 5000 will be described. However, the implementation example described here is one example of a specific implementation form of the access control system 5000, and the specific implementation method of the access control system 5000 is not limited to the example described here.

[0083] 6 is a diagram showing a specific implementation example of the access control system 5000. In this implementation example, a file server 50 and a management server 60 are provided as devices functioning as the server device 3000 and the management device 4000, respectively. In the example shown here, access control for the target file 10 is performed based on a reference position set for the target file 10. In addition, a decryption key for the target file 10 is generated using an encryption key used for encrypting the target file 10.

[0084] The file server 50 accepts file uploads. A file uploaded to the file server 50 is subject to access control by the access control system 5000 (that is, is treated as a target file 10). For example, the target file 10 is uploaded from the user device 2000.

[0085] The target file 10 uploaded to the file server 50 is stored in the storage device 52. However, the target file 10 stored in the storage device 52 is encrypted by the management server 60. For example, the management server 60 obtains the target file 10 uploaded to the file server 50 from the user device 2000, and encrypts the target file 10. At this time, the management server 60 adds an encryption key to the metadata of the file. The management server 60 transmits the encrypted target file 10 to the file server 50.

[0086] The file server 50 stores the target file 10 received from the management server 60 in the storage device 52. Here, the directory in which the target file 10 should be stored is specified by the user device 2000 that uploaded the target file 10. The file server 50 adds data indicating a reference position to the metadata of the target file 10 stored in the storage device 52. The reference position in this case indicates the path of the directory in which the target file 10 is stored.

[0087] The user device 2000 can access the target file 10 managed by the file server 50 (i.e., stored in the storage device 52). The user device 2000 can also download the target file 10 managed by the file server 50 and store it in the storage device 70 accessible from the user device 2000. However, as described above, since access control is performed based on the reference position, access control based on the reference position is also possible for the downloaded target file 10.

[0088] In this example, the storage device 52 corresponds to the storage device 3100, and the storage device 62 corresponds to the storage device 4100. Therefore, the access authority information 20 is stored in the storage device 52 of the file server 50. Furthermore, the management server 60 acquires the access authority information 20 from the file server 50 in advance, and stores the access authority information 20 in the storage device 62. Furthermore, the management server 60 updates the access authority information 20 stored in the storage device 62 by the various methods described above.

[0089] For example, access control is performed according to the following flow. Fig. 7 is a diagram illustrating the flow of access control in the access control system 5000 of the implementation example. The user device 2000 detects access to the target file 10 (S302). The user device 2000 transmits an access request indicating "identification information of the target user 40, a reference position stored in the metadata of the target file 10, the type of the detected access, and an encryption key used to encrypt the target file 10" to the management server 60 (S304).

[0090] In response to the access request, the management server 60 uses the access authority information 20 stored in the storage device 62 to determine whether the target user 40 has access authority to the target file 10 (S306). Here, the access authority information 20 indicates the correspondence between "user identification information, file or directory identification information, and permitted type of access." The management server 60 compares the contents of the access request with the access authority information 20 stored in the storage device 62 to determine whether the target user 40 has access authority. The specific method of determination is as described above.

[0091] If the user does not have access authority to the target file 10 (S306: NO), the management server 60 transmits a response indicating an error to the user device 2000 (S308). On the other hand, if the user has access authority to the target file 10 (S306: YES), the management server 60 generates a decryption key from the encryption key included in the access request (S308). The management server 60 then transmits key information including the generated decryption key to the user device 2000 as a response to the access request (S310). The user device 2000 decrypts the target file 10 using the received key information (S312).

[0092] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above embodiment. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

[0093] In the above example, the program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable medium includes various types of tangible storage media. Examples of the non-transitory computer readable medium include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs, CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable medium include electrical signals, optical signals, and electromagnetic waves. The transitory computer readable medium can supply the program to the computer via a wired communication path such as an electric wire or optical fiber, or via a wireless communication path.

[0094] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) a storage processing unit that acquires access authority information indicating user access authority for each file stored in an encrypted state in the first storage device from a server device that manages the access authority information, and stores the information in the second storage device; an acquisition unit that acquires a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination unit that, in response to acquisition of the request, determines whether or not the target user has access authority to the target file by using the access authority information stored in the second storage device; an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file. (Appendix 2) The management device described in Appendix 1, wherein the storage processing unit accesses the server device to obtain the access authority information updated in the server device, and updates the access authority information stored in the second storage device with the obtained access authority information. (Appendix 3) The management device described in Appendix 1, wherein when the access authority information is updated in the server device, the storage processing unit updates the access authority information stored in the second storage device by obtaining the access authority sent from the server device. (Appendix 4) The request includes an encryption key used to encrypt the target file, The management device according to any one of claims 1 to 3, wherein the output unit uses the encryption key to generate a decryption key for decrypting the target file, and outputs the key information including the generated decryption key. (Appendix 5) In the access authority information, the access authority of the target user to the target file is determined based on a reference position that is a position where the target file was stored at a predetermined time point before the processing by the determination unit is executed, the request includes reference position information indicating the reference position of the target file; The management device according to any one of claims 1 to 4, wherein the determination unit determines whether the target user has access authority to the target file by using the access authority information and the reference position information. (Appendix 6) The management device according to any one of claims 1 to 5, wherein the server device is a file server. (Appendix 7) A control method executed by a management device, comprising: a storage process step of acquiring access authority information indicating user access authority for each file stored in the first storage device in an encrypted state from a server device that manages the access authority information, and storing the information in the second storage device; an acquisition step of acquiring a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination step of determining whether the target user has access authority to the target file by using the access authority information stored in the second storage device in response to the request; an output step of outputting the key information to the user device when it is determined that the target user has access authority to the target file. (Appendix 8) The control method described in Appendix 7, in which, in the storage processing step, the access authority information updated in the server device is obtained by accessing the server device, and the access authority information stored in the second storage device is updated with the obtained access authority information. (Appendix 9) The control method described in Appendix 7, wherein, in the storage processing step, when the access authority information is updated in the server device, the access authority information stored in the second storage device is updated by obtaining the access authority transmitted from the server device. (Appendix 10) The request includes an encryption key used to encrypt the target file, 10. The control method according to claim 7, wherein in the output step, a decryption key for decrypting the target file is generated using the encryption key, and the key information including the generated decryption key is output. (Appendix 11) In the access authority information, the access authority of the target user to the target file is determined based on a reference position which is a position where the target file was stored at a predetermined time point before the processing by the determining step is executed, the request includes reference position information indicating the reference position of the target file; The control method according to any one of appendices 7 to 10, wherein in the determining step, it is determined whether the target user has access authority to the target file by using the access authority information and the reference position information. (Appendix 12) 12. The control method according to any one of claims 7 to 11, wherein the server device is a file server. (Appendix 13) The management device: a storage process step of acquiring access authority information indicating user access authority for each file stored in the first storage device in an encrypted state from a server device that manages the access authority information, and storing the information in the second storage device; an acquisition step of acquiring a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination step of determining whether the target user has access authority to the target file by using the access authority information stored in the second storage device in response to the request; A computer-readable medium storing a program for executing an output step of outputting the key information to the user device when it is determined that the target user has access authority to the target file. (Appendix 14) The computer-readable medium of claim 13, wherein in the storage processing step, the access authority information updated in the server device is obtained by accessing the server device, and the access authority information stored in the second storage device is updated with the obtained access authority information. (Appendix 15) The computer-readable medium of claim 13, wherein in the storage processing step, when the access authority information is updated in the server device, the access authority information stored in the second storage device is updated by obtaining the access authority transmitted from the server device. (Appendix 16) The request includes an encryption key used to encrypt the target file, 16. The computer-readable medium of claim 13, wherein in the output step, a decryption key for decrypting the target file is generated using the encryption key, and the key information including the generated decryption key is output. (Appendix 17) In the access authority information, the access authority of the target user to the target file is determined based on a reference position which is a position where the target file was stored at a predetermined time point before the processing by the determining step is executed, the request includes reference position information indicating the reference position of the target file; 17. The computer-readable medium of claim 13, wherein in the determining step, the access authority information and the reference location information are used to determine whether the target user has access authority to the target file. (Appendix 18) 18. The computer-readable medium of any one of claims 13 to 17, wherein the server device is a file server. (Appendix 19) An access control system having a user device, a server device, and a management device, The user device transmits a request to the management device for provision of key information to be used for decrypting the target file accessed by the target user; The management device includes: a storage processing unit that acquires from the server device access authority information indicating user access authority for each file stored in the first storage device in an encrypted state, and stores the access authority information in the second storage device; an acquisition unit that acquires the request from the user device; a determination unit that, in response to acquisition of the request, determines whether or not the target user has access authority to the target file by using the access authority information stored in the second storage device; an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file; The user device decrypts the target file using the key information output from the management device. (Appendix 20) the storage processing unit transmits a request to the server device to request the updated access authority information; the server device transmits the updated access authority information to the management device in response to receiving the request transmitted by the storage processing unit; 20. The access control system according to claim 19, wherein the storage processing unit updates the access authority information stored in the second storage device with the access authority information transmitted by the server device. (Appendix 21) When the access authority information is updated, the server device transmits the updated access authority information to the management device; The access control system of claim 19, wherein the storage processing unit updates the access authority information stored in the second storage device by obtaining the access authority transmitted from the server device. (Appendix 22) The request includes an encryption key used to encrypt the target file, the output unit generates a decryption key for decrypting the target file using the encryption key, and outputs the key information including the generated decryption key; 22. The access control system according to any one of claims 19 to 21, wherein the user device decrypts the target file using a decryption key included in the key information. (Appendix 23) In the access authority information, the access authority of the target user to the target file is determined based on a reference position that is a position where the target file was stored at a predetermined time point before the processing by the determination unit is executed, the request includes reference position information indicating the reference position of the target file; 23. The access control system according to any one of claims 19 to 22, wherein the determination unit determines whether the target user has access authority to the target file by using the access authority information and the reference position information. (Appendix 24) 24. The access control system according to any one of claims 19 to 23, wherein the server device is a file server. [Explanation of symbols]

[0095] 10 Target files 20 Access permission information 40 Target Users 50 File Server 52 Storage device 60 Management Server 62 Storage device 70 Storage device 500 Computers 502 Bus 504 Processor 506 Memory 508 Storage Devices 510 Input / Output Interface 512 Network Interface 2000 User Equipment 3000 Server Equipment 3100 storage device 4000 management device 4020 Storage processing unit 4040 Request Acquisition Unit 4060 Judgment section 4080 Output section 4100 storage device 5000 Access Control System

Claims

1. a storage processing unit that acquires access authority information indicating user access authority for each file stored in an encrypted state in the first storage device from a server device that manages the access authority information, and stores the information in the second storage device; an acquisition unit that acquires a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination unit that, in response to acquisition of the request, determines whether or not the target user has access authority to the target file by using the access authority information stored in the second storage device; an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file; The request includes an encryption key used to encrypt the target file, The output unit uses the encryption key to generate a decryption key for decrypting the target file, and outputs the key information including the generated decryption key.

2. a storage processing unit that acquires access authority information indicating user access authority for each file stored in an encrypted state in the first storage device from a server device that manages the access authority information, and stores the information in the second storage device; an acquisition unit that acquires a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination unit that, in response to acquisition of the request, determines whether or not the target user has access authority to the target file by using the access authority information stored in the second storage device; an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file; In the access authority information, the access authority of the target user to the target file is determined based on a reference position that is a position where the target file was stored at a predetermined time point before the processing by the determination unit is executed, the request includes reference position information indicating the reference position of the target file; The determination unit determines whether or not the target user has access authority to the target file by using the access authority information and the reference position information.

3. The management device described in claim 1 or 2, wherein the storage processing unit accesses the server device to obtain the access authority information updated in the server device, and updates the access authority information stored in the second storage device with the obtained access authority information.

4. The management device according to claim 1 , wherein the server device is a file server.

5. A control method executed by a management device, comprising: a storage process step of acquiring access authority information indicating user access authority for each file stored in the first storage device in an encrypted state from a server device that manages the access authority information, and storing the information in the second storage device; an acquisition step of acquiring a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination step of determining whether the target user has access authority to the target file by using the access authority information stored in the second storage device in response to the acquisition of the request; an output step of outputting the key information to the user device when it is determined that the target user has access authority to the target file; The request includes an encryption key used to encrypt the target file, A control method, in the output step, generating a decryption key for decrypting the target file using the encryption key, and outputting the key information including the generated decryption key.

6. A control method executed by a management device, comprising: a storage process step of acquiring access authority information indicating user access authority for each file stored in the first storage device in an encrypted state from a server device that manages the access authority information, and storing the information in the second storage device; an acquisition step of acquiring a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination step of determining whether the target user has access authority to the target file by using the access authority information stored in the second storage device in response to the acquisition of the request; an output step of outputting the key information to the user device when it is determined that the target user has access authority to the target file; In the access authority information, the access authority of the target user to the target file is determined based on a reference position which is a position where the target file was stored at a predetermined time point before the processing by the determining step is executed, the request includes reference position information indicating the reference position of the target file; A control method, wherein in the determining step, it is determined whether or not the target user has access authority to the target file by using the access authority information and the reference position information.

7. The control method according to claim 5 or 6, wherein in the storage processing step, the access authority information updated in the server device is obtained by accessing the server device, and the access authority information stored in the second storage device is updated with the obtained access authority information.

8. The control method according to claim 5 , wherein the server device is a file server.

9. The management device: a storage process step of acquiring access authority information indicating user access authority for each file stored in the first storage device in an encrypted state from a server device that manages the access authority information, and storing the information in the second storage device; an acquisition step of acquiring a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination step of determining whether the target user has access authority to the target file by using the access authority information stored in the second storage device in response to the acquisition of the request; an output step of outputting the key information to the user device when it is determined that the target user has access authority to the target file; The request includes an encryption key used to encrypt the target file, a program for generating a decryption key for decrypting the target file using the encryption key, and outputting the key information including the generated decryption key, in the output step.

10. The management device: a storage process step of acquiring access authority information indicating user access authority for each file stored in the first storage device in an encrypted state from a server device that manages the access authority information, and storing the information in the second storage device; an acquisition step of acquiring a request for provision of key information to be used for decrypting the target file from a user device operated by the target user; a determination step of determining whether the target user has access authority to the target file by using the access authority information stored in the second storage device in response to the acquisition of the request; an output step of outputting the key information to the user device when it is determined that the target user has access authority to the target file; In the access authority information, the access authority of the target user to the target file is determined based on a reference position which is a position where the target file was stored at a predetermined time point before the processing by the determining step is executed, the request includes reference position information indicating the reference position of the target file; a program for determining, in the determining step, whether or not the target user has access authority to the target file by using the access authority information and the reference position information;

11. The program according to claim 9 or 10, wherein in the storage processing step, the access authority information updated in the server device is obtained by accessing the server device, and the access authority information stored in the second storage device is updated with the obtained access authority information.

12. The program according to claim 9 , wherein the server device is a file server.

13. An access control system having a user device, a server device, and a management device, The user device transmits a request to the management device for provision of key information to be used for decrypting the target file accessed by the target user; The management device includes: a storage processing unit that acquires from the server device access authority information indicating user access authority for each file stored in the first storage device in an encrypted state, and stores the access authority information in the second storage device; an acquisition unit that acquires the request from the user device; a determination unit that, in response to acquisition of the request, determines whether or not the target user has access authority to the target file by using the access authority information stored in the second storage device; an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file; The request includes an encryption key used to encrypt the target file, the output unit generates a decryption key for decrypting the target file using the encryption key, and outputs the key information including the generated decryption key; The user device decrypts the target file using a decryption key included in the key information.

14. An access control system having a user device, a server device, and a management device, The user device transmits a request to the management device for provision of key information to be used for decrypting the target file accessed by the target user; The management device includes: a storage processing unit that acquires from the server device access authority information indicating user access authority for each file stored in the first storage device in an encrypted state, and stores the access authority information in the second storage device; an acquisition unit that acquires the request from the user device; a determination unit that, in response to acquisition of the request, determines whether or not the target user has access authority to the target file by using the access authority information stored in the second storage device; an output unit that outputs the key information to the user device when it is determined that the target user has access authority to the target file; The user device decrypts the target file using the key information output from the management device, In the access authority information, the access authority of the target user to the target file is determined based on a reference position that is a position where the target file was stored at a predetermined time point before the processing by the determination unit is executed, the request includes reference position information indicating the reference position of the target file; The determination unit determines whether or not the target user has access authority to the target file by using the access authority information and the reference position information.

15. the storage processing unit transmits a request to the server device to request the updated access authority information; the server device transmits the updated access authority information to the management device in response to receiving the request transmitted by the storage processing unit; 15. The access control system according to claim 13, wherein the storage processing unit updates the access authority information stored in the second storage device with the access authority information transmitted by the server device.

16. The access control system according to claim 13 , wherein the server device is a file server.

Citation Information

Patent Citations

  • Information management program, device, and method

    JP2007219619A

  • Use permission device, management system for right to use, method for permitting use of use permission device and use permission program

    JP2010129036A

  • System and method for managing document

    JP2011076378A

  • File encryption device, file decryption device, system, and program

    WO2017064780A1