JP2007172154A - Access control device, access control method and access control program - Google Patents

Access control device, access control method and access control program Download PDF

Info

Publication number
JP2007172154A
JP2007172154A JP2005366695A JP2005366695A JP2007172154A JP 2007172154 A JP2007172154 A JP 2007172154A JP 2005366695 A JP2005366695 A JP 2005366695A JP 2005366695 A JP2005366695 A JP 2005366695A JP 2007172154 A JP2007172154 A JP 2007172154A
Authority
JP
Japan
Prior art keywords
group
access
data
user
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005366695A
Other languages
Japanese (ja)
Inventor
Yoshihiro Seki
慶宏 関
Tomohiro Hiruma
智宏 比留間
Akio Ogura
明夫 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Space Software Co Ltd
Original Assignee
Mitsubishi Space Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Space Software Co Ltd filed Critical Mitsubishi Space Software Co Ltd
Priority to JP2005366695A priority Critical patent/JP2007172154A/en
Publication of JP2007172154A publication Critical patent/JP2007172154A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform access control according to various conditions even if the same user belongs to a plurality of groups in acces control to data while facilitating setting therefor. <P>SOLUTION: In the access control device 100, a first storage part 109 stores user information showing a group each user belongs to in group type basis and in user basis, and a second storage part 110 data information showing a group to which access to each data is permitted in group type basis and in data basis. A comparison part 107 compares user information of a user who requests access with data information of data for which the access is requested in group kind basis, and a determination part 108 determines the propriety of the access based on the group type-based comparison result. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、アクセス制御装置及びアクセス制御方法及びアクセス制御プログラムに関するものである。   The present invention relates to an access control device, an access control method, and an access control program.

文書ファイルに対してアクセス権を設定する際に、アクセス権が設定される対象者の範囲を、例えば、「管理職」又は「技術担当」などのように、対象者が属するグループとして入力する方法がある。対象者のグループは、互いに異なる基準に基づいて区分されたものであってもよく、例えば、職階により区分される「管理職」又は「一般社員」などのグループと、職種により区分される「技術担当」又は「営業担当」などのグループとがグループとして併存していてもよい。優先情報として、互いに重複する対象者グループ間の優先順位を記憶しておくことにより、同一対象者が複数のグループに属する場合であっても、矛盾無くアクセス権を設定することができる。例えば、「技術担当」に対して設定されたアクセス権の設定条件と、「一般社員」に対して設定されたアクセス権の設定条件とが重複した場合に、優先情報を参照し、「技術担当」であり、かつ、「一般社員」である対象者については、「技術担当」に対して設定されたアクセス権を有効化するといった設定が可能である(例えば、特許文献1参照)。また、互いに重複する対象者グループの組み合わせに対してアクセス権を設定することにより、同一対象者が複数のグループに属する場合には、対象者が属するグループの組み合わせによってアクセス権を設定することもできる。例えば、「技術担当」と「管理職」の組み合わせに対してアクセス権を設定し、該当する文書ファイルには、「技術担当」であり、かつ、「管理職」である対象者のみのアクセスを許可するといった設定が可能である。
特開2005−55998号公報
When setting the access right for a document file, a method for inputting the scope of the target person to whom the access right is set as a group to which the target person belongs, such as “manager” or “technical staff”. There is. Target groups may be grouped based on different criteria, for example, “Management” or “General employees” grouped by job level, and “Technology” grouped by job type. Groups such as “in charge” or “sales representative” may coexist as a group. By storing the priority order between overlapping target person groups as priority information, even if the same target person belongs to a plurality of groups, the access right can be set without contradiction. For example, if the access right setting condition set for “Technical Manager” and the access right setting condition set for “General Employee” overlap, refer to the priority information, For the target person who is “general employee”, the setting of enabling the access right set for the “technical staff” is possible (for example, see Patent Document 1). In addition, by setting access rights for combinations of target person groups that overlap each other, if the same target person belongs to a plurality of groups, the access right can also be set by the combination of groups to which the target person belongs. . For example, access rights are set for a combination of “technical staff” and “manager”, and the corresponding document file is accessed only by those who are “technical staff” and who are “managers”. Settings such as permission are possible.
JP 2005-55998 A

従来、文書ファイルなどのデータに対するアクセスを制御する際に、同一のユーザが複数のグループに属する場合は、1つのグループに対して設定されたアクセス権を選択しなければならず、多様な条件に合わせてアクセス制御をすることができないという課題があった。また、複数のグループの組み合わせに対して設定されたアクセス権を適用することもできたが、多様な条件に合わせてアクセス制御をしようとするとグループの組み合わせが複雑になり、設定が煩雑かつ困難になるという課題があった。   Conventionally, when controlling access to data such as a document file, if the same user belongs to a plurality of groups, the access right set for one group must be selected. There was a problem that access control could not be performed together. In addition, the access rights set for a combination of multiple groups could be applied. However, if access control is performed according to various conditions, the combination of groups becomes complicated, making the setting complicated and difficult. There was a problem of becoming.

本発明は、データに対するアクセスを制御する際に、同一のユーザが複数のグループに属する場合においても、多様な条件に合わせてアクセス制御をし、かつ、そのための設定を容易にすることを目的とする。   It is an object of the present invention to control access according to various conditions and facilitate settings for controlling the access to data even when the same user belongs to a plurality of groups. To do.

本発明に係るアクセス制御装置は、
入力装置と記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御装置において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶部と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶部と、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力部と、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較部と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断部とを備えることを特徴とする。
An access control apparatus according to the present invention
In an access control device for controlling access to data by a user using a computer having an input device, a storage device, and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage unit that stores in the storage device for each group type and each user indicating
A second storage unit that stores data information indicating a group that allows access to each piece of data among a plurality of groups of the same group type in the storage device for each group type and each data;
An input unit for inputting a request for access to data by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information A comparison unit that compares the data information with the processing device for each group type;
And a determination unit that determines whether the access is permitted or not based on a comparison result for each group type by the processing device.

前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure As described above, at least two of the three types of hierarchical groups in which each group is set are included.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御装置は、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control device
A designation unit for designating the authority type group to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, And a setting unit for writing the set user information to the storage device.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御装置は、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control device
A designation unit for designating a group of authority types that allow access to data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. And a setting unit for writing the set data information to the storage device.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御装置は、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control device
A designation unit for designating a group of a hierarchical type to which a user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, And a setting unit for writing the set user information to the storage device.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御装置は、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control device
A designation unit that designates a group of a hierarchical type that allows access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. And a setting unit for writing the set data information to the storage device.

前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較部は、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断部は、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする。
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
The comparison unit performs a logical operation on the read user information and data information by the processing device for each group type,
The determination unit is configured to determine, by the processing device, whether the access is permitted based on a logical operation result for each group type by the processing device.

前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較部は、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断部は、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
The comparison unit calculates a logical product of the read user information and data information by the processing device for each group type, and calculates a logical sum of all bits included in the calculation result by the processing device for each group type. And
The determination unit calculates a logical product of logical OR calculation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is In the case of 0, it is judged that the access is denied.

また、本発明に係るアクセス制御方法は、
入力装置と記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御方法において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶ステップと、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶ステップと、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力ステップと、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較ステップと、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断ステップとを備えることを特徴とする。
Moreover, the access control method according to the present invention includes:
In an access control method for controlling access to data by a user using a computer having an input device, a storage device, and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage step of storing in the storage device for each group type and each user indicating whether
A second storage step of storing, in the storage device for each group type and each data, data information indicating a group that allows access to each of a plurality of data among a plurality of groups of the same group type;
An input step of inputting a data access request by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information A comparison step in which the processing device compares data information for each group type;
And a determination step of determining, by the processing device, whether the access is permitted based on a comparison result for each group type by the processing device.

前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure As described above, at least two of the three types of hierarchical groups in which each group is set are included.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御方法は、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control method includes:
A designation step for designating a group of authority types to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, A setting step of writing the set user information to the storage device.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御方法は、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control method includes:
A designation step of designating a group of authority types that allow access to data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. And a setting step of writing the set data information to the storage device.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御方法は、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control method includes:
A designation step for designating a hierarchical type group to which the user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, A setting step of writing the set user information to the storage device.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御方法は、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control method includes:
A designation step for designating a hierarchical type group that allows access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. And a setting step of writing the set data information to the storage device.

前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較ステップは、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断ステップは、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする。
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
The comparison step performs logical operation on the read user information and data information by the processing device for each group type,
In the determining step, the processing device determines whether the access is permitted or not based on a logical operation result for each group type by the processing device.

前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較ステップは、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断ステップは、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
The comparison step calculates a logical product of the read user information and data information by the processing device for each group type, and calculates a logical sum of all bits included in the calculation result by the processing device for each group type. And
In the determination step, the processing device calculates a logical product of logical sum operation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is In the case of 0, it is judged that the access is denied.

また、本発明に係るアクセス制御プログラムは、
入力装置と記憶装置と処理装置とを有するコンピュータにより実行されてユーザによるデータへのアクセスを制御するアクセス制御プログラムにおいて、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶処理と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶処理と、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力処理と、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較処理と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断処理とをコンピュータに実行させることを特徴とする。
The access control program according to the present invention is
In an access control program that is executed by a computer having an input device, a storage device, and a processing device to control access to data by a user,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage process for storing in the storage device for each group type and each user indicating
A second storage process for storing, in the storage device, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
An input process for inputting a data access request by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information Comparison processing for comparing data information for each group type by the processing device;
Based on a comparison result for each group type by the processing device, the computer is caused to execute determination processing for determining whether the access is permitted or not by the processing device.

前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure As described above, at least two of the three types of hierarchical groups in which each group is set are included.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御プログラムは、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control program is
A designation process for designating the authority type group to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, A setting process for writing the set user information to the storage device is executed by a computer.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御プログラムは、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control program is
A designation process for designating a group of authority types permitted to access data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. And setting processing for writing the set data information to the storage device is executed by the computer.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御プログラムは、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control program is
A designation process for designating a hierarchical type group to which the user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, A setting process for writing the set user information to the storage device is executed by a computer.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御プログラムは、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control program is
A designation process for designating a hierarchical type group that permits access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. And setting processing for writing the set data information to the storage device is executed by the computer.

前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較処理は、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断処理は、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする。
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
In the comparison process, the read user information and data information are logically operated by the processing device for each group type,
The determination process is characterized in that the processing device determines whether the access is permitted or not based on a logical operation result for each group type by the processing device.

前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較処理は、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断処理は、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
In the comparison process, a logical product of the read user information and data information is calculated by the processing device for each group type, and a logical sum of all bits included in the calculation result is calculated by the processing device for each group type. And
In the determination processing, the processing device calculates a logical product of logical sum operation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is In the case of 0, it is judged that the access is denied.

また、本発明に係るアクセス制御装置は、
記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御装置において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶部と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶部と、
ユーザによるデータへのアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較部と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断部とを備えることを特徴とする。
The access control apparatus according to the present invention is
In an access control device for controlling access to data by a user using a computer having a storage device and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage unit that stores in the storage device for each group type and each user indicating
A second storage unit that stores data information indicating a group that allows access to each piece of data among a plurality of groups of the same group type in the storage device for each group type and each data;
In response to a user access request for data, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information and data information Comparing unit for each group type by the processing device,
And a determination unit that determines whether the access is permitted or not based on a comparison result for each group type by the processing device.

また、本発明に係るアクセス制御方法は、
記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御方法において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶ステップと、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶ステップと、
ユーザによるデータへのアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較ステップと、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断ステップとを備えることを特徴とする。
Moreover, the access control method according to the present invention includes:
In an access control method for controlling access to data by a user using a computer having a storage device and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage step of storing in the storage device for each group type and each user indicating whether
A second storage step of storing, in the storage device for each group type and each data, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
In response to a user access request for data, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information and data information Comparing step for each group type by the processing device,
And a determination step of determining, by the processing device, whether the access is permitted based on a comparison result for each group type by the processing device.

また、本発明に係るアクセス制御プログラムは、
記憶装置と処理装置とを有するコンピュータにより実行されてユーザによるデータへのアクセスを制御するアクセス制御プログラムにおいて、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶処理と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶処理と、
ユーザによるデータへのアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較処理と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断処理とをコンピュータに実行させることを特徴とする。
The access control program according to the present invention is
In an access control program that is executed by a computer having a storage device and a processing device to control access to data by a user,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage process for storing in the storage device for each group type and each user indicating
A second storage process for storing, in the storage device, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
In response to a user access request for data, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information and data information And comparison processing for each group type by the processing device,
Based on a comparison result for each group type by the processing device, the computer is caused to execute determination processing for determining whether the access is permitted or not by the processing device.

本発明では、アクセス制御装置が備える比較部が、入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに処理装置により比較し、アクセス制御装置が備える判断部が、処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を処理装置により判断することにより、データに対するアクセスを制御する際に、同一のユーザが複数のグループに属する場合においても、多様な条件に合わせてアクセス制御をし、かつ、そのための設定を容易にすることが可能となる。   In the present invention, the comparison unit included in the access control device, in response to the access request input by the input device, sets the user information of the user who requested the access and the data information of the data requested to be accessed for each group type. The user information and data information read from the storage device are compared by the processing device for each group type, and the determination unit provided in the access control device determines whether the access is based on the comparison result for each group type by the processing device. Judgment is made by the processing device, when controlling access to data, even if the same user belongs to multiple groups, access control can be performed according to various conditions, and settings for that can be done easily It becomes possible to.

以下、本発明の実施の形態について、図を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本実施の形態に係るアクセス制御装置の構成を示すブロック図である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing the configuration of the access control apparatus according to the present embodiment.

本実施の形態において、アクセス制御装置100は、入力装置101、記憶装置102、処理装置103を有するとともに、指定部104、設定部105、入力部106、比較部107、判断部108を備える。記憶装置102は、第1の記憶部109、第2の記憶部110を含む。各部の動作(処理)については、後述する。   In the present embodiment, the access control apparatus 100 includes an input device 101, a storage device 102, and a processing device 103, and includes a designation unit 104, a setting unit 105, an input unit 106, a comparison unit 107, and a determination unit 108. The storage device 102 includes a first storage unit 109 and a second storage unit 110. The operation (processing) of each unit will be described later.

図2は、アクセス制御装置100の外観の一例を示す図である。   FIG. 2 is a diagram illustrating an example of the appearance of the access control apparatus 100.

図2において、アクセス制御装置100は、システムユニット910、CRT(Cathode Ray Tube)表示装置901、キーボード(K/B)902、マウス903、コンパクトディスク装置(CDD)905、プリンタ装置906を備え、これらはケーブルで接続されている。さらに、アクセス制御装置100は、ローカルエリアネットワーク(LAN)942、ゲートウェイ941を介してインターネット940に接続されている。   2, the access control device 100 includes a system unit 910, a CRT (Cathode Ray Tube) display device 901, a keyboard (K / B) 902, a mouse 903, a compact disc device (CDD) 905, and a printer device 906. Are connected by a cable. Further, the access control apparatus 100 is connected to the Internet 940 via a local area network (LAN) 942 and a gateway 941.

図3は、アクセス制御装置100のハードウェア構成の一例を示す図である。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the access control apparatus 100.

図3は、本実施の形態におけるアクセス制御装置のハードウェア構成の一例を示す図である。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the access control apparatus according to the present embodiment.

図3において、アクセス制御装置100は、プログラムを実行するCPU(Central Processing Unit)911を備えている。CPU911は、バス912を介してROM(Read Only Memory)913、RAM(Random Access Memory)914、通信ボード915、CRT表示装置901、K/B902、マウス903、FDD(Flexible Disk Drive)904、磁気ディスク装置920、CDD905、プリンタ装置906と接続されている。   In FIG. 3, the access control device 100 includes a CPU (Central Processing Unit) 911 that executes a program. The CPU 911 includes a ROM (Read Only Memory) 913, a RAM (Random Access Memory) 914, a communication board 915, a CRT display device 901, a K / B 902, a mouse 903, a FDD (Flexible Disk Drive) 904, and a bus 912. A device 920, a CDD 905, and a printer device 906 are connected.

RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920は、不揮発性メモリの一例である。これらは、記憶装置102の一例である。   The RAM 914 is an example of a volatile memory. The ROM 913, the FDD 904, the CDD 905, and the magnetic disk device 920 are examples of nonvolatile memories. These are examples of the storage device 102.

通信ボード915は、LAN942などに接続されている。通信ボード915は、入力装置101あるいは出力装置の一例である。   The communication board 915 is connected to the LAN 942 or the like. The communication board 915 is an example of the input device 101 or the output device.

例えば、K/B902、FDD904などは、入力装置101の一例である。また、例えば、CRT表示装置901などは、出力装置の一例である。   For example, K / B 902 and FDD 904 are examples of the input device 101. For example, the CRT display device 901 is an example of an output device.

ここで、通信ボード915は、LAN942に限らず、直接、インターネット940、あるいはISDN(Integrated Services Digital Network)などのWAN(ワイドエリアネットワーク)に接続されていても構わない。直接、インターネット940、あるいはISDNなどのWANに接続されている場合、アクセス制御装置100は、インターネット940、あるいはISDNなどのWANに接続され、ゲートウェイ941は不要となる。   Here, the communication board 915 is not limited to the LAN 942 but may be directly connected to the Internet 940 or a WAN (Wide Area Network) such as ISDN (Integrated Services Digital Network). When directly connected to a WAN such as the Internet 940 or ISDN, the access control apparatus 100 is connected to a WAN such as the Internet 940 or ISDN, and the gateway 941 is not necessary.

磁気ディスク装置920には、オペレーティングシステム(OS)921、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923は、CPU911、OS921、ウィンドウシステム922により実行される。   The magnetic disk device 920 stores an operating system (OS) 921, a window system 922, a program group 923, and a file group 924. The program group 923 is executed by the CPU 911, the OS 921, and the window system 922.

上記プログラム群923には、本実施の形態の説明において「〜部」として説明する機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。   The program group 923 stores a program for executing a function described as “˜unit” in the description of the present embodiment. The program is read and executed by the CPU 911.

例えば、CPU911などは、処理装置103の一例である。   For example, the CPU 911 is an example of the processing device 103.

ファイル群924には、本実施の形態の説明において、「〜データ」、「〜情報」、「〜結果」として説明するものが、ファイル又はその一部として記憶されている。   In the file group 924, what is described as “˜data”, “˜information”, and “˜result” in the description of the present embodiment is stored as a file or a part thereof.

また、本実施の形態の説明において説明するフローチャートの矢印の部分は主としてデータの入出力を示し、そのデータの入出力のためにデータは、磁気ディスク装置920、FD(Flexible Disk)、光ディスク、CD(コンパクトディスク)、MD(ミニディスク)、DVD(Digital Versatile Disk)などのその他の記録媒体に記録される。あるいは、信号線やその他の伝送媒体により伝送される。   In addition, the arrow portion of the flowchart described in the description of the present embodiment mainly indicates input / output of data, and for the input / output of the data, the data is a magnetic disk device 920, an FD (Flexible Disk), an optical disk, a CD. (Compact Disc), MD (Mini Disc), DVD (Digital Versatile Disk) and other recording media. Alternatively, it is transmitted through a signal line or other transmission medium.

また、本実施の形態の説明において「〜部」として説明するものは、ROM913に記憶されたファームウェアで実現されていても構わない。あるいは、ソフトウェアのみ、あるいは、ハードウェアのみ、あるいは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。   In addition, what is described as “˜unit” in the description of the present embodiment may be realized by firmware stored in the ROM 913. Alternatively, it may be implemented by software alone, hardware alone, a combination of software and hardware, or a combination of firmware.

また、本実施の形態を実施するプログラムは、磁気ディスク装置920、FD、光ディスク、CD、MD、DVDなどのその他の記録媒体による記録装置を用いて記憶されても構わない。   Further, the program for carrying out the present embodiment may be stored using a recording device using other recording media such as the magnetic disk device 920, FD, optical disk, CD, MD, and DVD.

以下では、アクセス制御装置100の動作(アクセス制御方法、アクセス制御プログラムの処理手順)の一例についてフロー図を用いて説明する。下記の例において、アクセス制御装置100はユーザAによるデータAへのアクセスを制御する。そのために、アクセス制御装置100は3種類あるグループ種別(カテゴリともいう)のそれぞれについて、ユーザAがどのグループ(ロールともいう)に属するかをユーザ情報として設定するとともに、データAへのアクセスをどのグループに属するユーザに対して許可するかをデータ情報として設定する。ここで、各グループは3種類の設定基準のいずれかに基づいて設定(グループ分け)されるものとする。グループ種別は、各グループが3種類の設定基準のうち、どの設定基準に基づいて設定されたかを示す。つまり、下記の例において、グループは3種類のグループ種別のうちいずれかに分類される。下記の例では、グループ種別(設定基準)が3種類あるものとして説明するが、便宜上、そのうち2種類のみを説明に用いる場合がある。グループ種別が1種類、2種類、あるいは4種類以上ある場合にも、本実施の形態を適用可能である。   Hereinafter, an example of the operation of the access control apparatus 100 (access control method, access control program processing procedure) will be described with reference to a flowchart. In the following example, the access control apparatus 100 controls access to the data A by the user A. For this purpose, the access control apparatus 100 sets, as user information, which group (also referred to as a role) user A belongs to each of the three types of groups (also referred to as categories), and which access to data A Whether to allow users belonging to the group is set as data information. Here, it is assumed that each group is set (grouped) based on one of three types of setting criteria. The group type indicates which setting criterion among the three types of setting criteria is set for each group. That is, in the following example, a group is classified into one of three types of groups. In the following example, it is assumed that there are three types of groups (setting criteria), but for convenience, only two types may be used in the description. The present embodiment can also be applied when there are one, two, or four or more group types.

以下では、3種類のグループ種別として、基本タイプ、権限タイプ、階層タイプを例示する。基本タイプのグループは、それぞれが独立して設定される。例えば、「Xプロジェクト」のグループと「Yプロジェクト」のグループと「Zプロジェクト」のグループとを設定した場合、ユーザAがXプロジェクトとZプロジェクトを担当するのであれば、ユーザAが「Xプロジェクト」のグループと「Zプロジェクト」のグループとに属するようにユーザ情報を設定することができる。権限タイプのグループは、アクセス権限のレベルに一対一で対応するようにそれぞれが設定される。例えば、「極秘」のグループとそれより権限の低い「秘」のグループとを設定した場合、ユーザAが極秘情報へのアクセス権限を持つのであれば、ユーザAが「極秘」のグループに属するようにユーザ情報を設定することができる。階層タイプのグループは、複数のグループがツリー構造(階層的な組織構造)を形成するようにそれぞれが設定される。例えば、「1課」のグループとその下位にあたる「1係」のグループと「2係」のグループとを設定した場合、ユーザAが1係に所属するのであれば、ユーザAが「1係」のグループに属するようにユーザ情報を設定することができる。   In the following, basic types, authority types, and hierarchical types will be exemplified as the three types of groups. Each basic type group is set independently. For example, when the “X project” group, the “Y project” group, and the “Z project” group are set, if the user A is in charge of the X project and the Z project, the user A is “X project”. User information can be set so as to belong to the “Z project” group. Each authority type group is set so as to correspond to the level of access authority on a one-to-one basis. For example, when a “confidential” group and a “secret” group with lower authority are set, if the user A has access authority to the confidential information, the user A belongs to the “confidential” group. User information can be set in Each of the hierarchical type groups is set so that a plurality of groups form a tree structure (hierarchical organization structure). For example, if the “1 Section” group, the “1 Section” group, and the “2 Section” group, which are subordinate to it, are set, if the user A belongs to the 1 section, the user A will be “1 Section”. User information can be set so as to belong to the group.

図4は、基本タイプのグループについてユーザAのユーザ情報とデータAのデータ情報を設定するときのアクセス制御装置100の動作を示すフロー図である。   FIG. 4 is a flowchart showing the operation of the access control apparatus 100 when setting user information of user A and data information of data A for the basic type group.

指定部104は、ユーザAが属する基本タイプのグループX(例えば、「Xプロジェクト」のグループや「Zプロジェクト」のグループ)を入力装置101により指定する(ステップS1101:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループXをユーザAが属するグループとして示すように、ユーザAのユーザ情報を処理装置103により設定し(ステップS1102)、設定したユーザ情報を記憶装置102に書き込む(ステップS1103)(ステップS1102〜S1103:設定ステップ(処理))。第1の記憶部109は、基本タイプのグループについてのユーザAのユーザ情報を記憶装置102に記憶する(ステップS1104:第1の記憶ステップ(処理))。 The designation unit 104 designates the basic type group X 1 to which the user A belongs (for example, “X project” group or “Z project” group) by the input device 101 (step S1101: designation step (processing)). Setting unit 105, to indicate a group X 1 as specified by the input device 101 as a group by the user A belongs, set by the processing device 103 the user information of the user A (step S1102), the storage device user information set 102 (step S1103) (steps S1102 to S1103: setting step (process)). The first storage unit 109 stores the user information of the user A regarding the basic type group in the storage device 102 (step S1104: first storage step (process)).

指定部104は、データAへのアクセスを許可する基本タイプのグループY(例えば、「Xプロジェクト」のグループや「Zプロジェクト」のグループ)を入力装置101により指定する(ステップS1105:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループYをデータAへのアクセスを許可するグループとして示すように、データAのデータ情報を処理装置103により設定し(ステップS1106)、設定したデータ情報を記憶装置102に書き込む(ステップS1107)(ステップS1106〜S1107:設定ステップ(処理))。第2の記憶部110は、基本タイプのグループについてのデータAのデータ情報を記憶装置102に記憶する(ステップS1108:第2の記憶ステップ(処理))。 The designation unit 104 designates a basic type group Y 1 (for example, an “X project” group or a “Z project” group) that permits access to the data A by using the input device 101 (step S1105: designation step ( processing)). Setting unit 105, to indicate a group Y 1 designated by the input device 101 as a group to allow access to the data A, and set by the processing device 103 the data information of the data A (step S1106), the set data Information is written in the storage device 102 (step S1107) (steps S1106 to S1107: setting steps (processing)). The second storage unit 110 stores the data information of the data A for the basic type group in the storage device 102 (step S1108: second storage step (process)).

図5は、権限タイプのグループについてユーザAのユーザ情報とデータAのデータ情報を設定するときのアクセス制御装置100の動作を示すフロー図である。   FIG. 5 is a flowchart showing the operation of the access control apparatus 100 when setting the user information of user A and the data information of data A for the authority type group.

指定部104は、ユーザAが属する権限タイプのグループX(例えば、「極秘」のグループ)を入力装置101により指定する(ステップS1201:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループXをユーザAが属するグループとして示すように、ユーザAのユーザ情報を処理装置103により設定し(ステップS1202)、設定したユーザ情報を記憶装置102に書き込む(ステップS1203)(ステップS1202〜S1203:設定ステップ(処理))。第1の記憶部109は、権限タイプのグループについてのユーザAのユーザ情報を記憶装置102に記憶する(ステップS1204:第1の記憶ステップ(処理))。 The designation unit 104 designates the authority type group X 2 (for example, “confidential” group) to which the user A belongs by using the input device 101 (step S1201: designation step (process)). Setting unit 105, to indicate a group X 2 which is designated by the input device 101 as a group by the user A belongs, set by the processing device 103 the user information of the user A (step S1202), the storage device user information set 102 (step S1203) (steps S1202 to S1203: setting step (process)). The first storage unit 109 stores the user information of the user A regarding the authority type group in the storage device 102 (step S1204: first storage step (process)).

指定部104は、データAへのアクセスを許可する権限タイプのグループY(例えば、前述した「秘」のグループ)を入力装置101により指定する(ステップS1205:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループYをデータAへのアクセスを許可するグループとして示すように、データAのデータ情報を処理装置103により設定する(ステップS1206)。さらに、設定部105は、グループYより高いアクセス権限のレベルに対応するグループ(例えば、「極秘」のグループ)をすべてデータAへのアクセスを許可するグループとして示すように、データAのデータ情報を処理装置103により設定する(ステップS1207)。そして、設定部105は、設定したデータ情報を記憶装置102に書き込む(ステップS1208)(ステップS1206〜S1208:設定ステップ(処理))。第2の記憶部110は、権限タイプのグループについてのデータAのデータ情報を記憶装置102に記憶する(ステップS1209:第2の記憶ステップ(処理))。 The designation unit 104 designates the authority type group Y 2 (for example, the “secret” group described above) that permits access to the data A using the input device 101 (step S1205: designation step (process)). Setting unit 105, to indicate the group Y 2 designated by the input device 101 as a group to allow access to data A, is set by the processor 103 the data information of the data A (step S1206). Further, the setting unit 105 indicates the data information of the data A so as to indicate all the groups (for example, the “confidential” group) corresponding to the higher access authority level than the group Y 2 as a group permitting access to the data A. Is set by the processing device 103 (step S1207). Then, the setting unit 105 writes the set data information in the storage device 102 (step S1208) (steps S1206 to S1208: setting steps (processing)). The second storage unit 110 stores the data information of the data A for the authority type group in the storage device 102 (step S1209: second storage step (process)).

このように、本実施の形態では、データへのアクセスをどのレベルのアクセス権限を持つユーザに対して許可するかを指定するだけで、そのデータに対する適切なアクセス権の設定が自動的に行われる。例えば、図6の(a)のように、権限タイプのグループとして、アクセス権限のレベルの上位から順番に「機密」、「極秘」、「秘」、「注意」のグループが設定されているとする。あるデータが「秘」レベルの情報だとすると、そのデータには「秘」レベルのアクセス権限を持つユーザだけでなく、その上位の「機密」、「極秘」レベルのアクセス権限を持つユーザもアクセスできなければならない。このとき、そのデータへのアクセスを許可するグループとして「秘」のグループだけを指定すれば、図6の(b)のように、自動的に「機密」、「極秘」のグループもアクセスを許可するグループとして設定される。これにより、「機密」あるいは「極秘」のグループに属するユーザに対して、「秘」のグループに属することを設定しておかなくても、そのユーザがデータにアクセスすることが可能となる。   As described above, in this embodiment, setting of appropriate access rights for data is automatically performed only by designating which level of access authority to allow access to the data. . For example, as shown in FIG. 6A, when a group of “confidential”, “confidential”, “secret”, and “caution” is set in order from the top of the access authority level as the authority type group. To do. If a piece of data is “secret” level information, that data must be accessible not only to users with “secret” level access rights, but also to users with higher “secret” and “secret” level access rights. I must. At this time, if only the “secret” group is specified as the group that permits access to the data, the “confidential” and “confidential” groups are automatically allowed access as shown in FIG. Set as the group to be. As a result, even if the user belonging to the “secret” or “confidential” group is not set to belong to the “secret” group, the user can access the data.

図7は、階層タイプのグループについてユーザAのユーザ情報とデータAのデータ情報を設定するときのアクセス制御装置100の動作を示すフロー図である。   FIG. 7 is a flowchart showing the operation of the access control apparatus 100 when setting user information of user A and data information of data A for a hierarchical type group.

指定部104は、ユーザAが属する階層タイプのグループX(例えば、「1係」のグループ)を入力装置101により指定する(ステップS1301:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループXをユーザAが属するグループとして示すように、ユーザAのユーザ情報を処理装置103により設定し(ステップS1302)、設定したユーザ情報を記憶装置102に書き込む(ステップS1303)(ステップS1302〜S1303:設定ステップ(処理))。第1の記憶部109は、階層タイプのグループについてのユーザAのユーザ情報を記憶装置102に記憶する(ステップS1304:第1の記憶ステップ(処理))。 The designation unit 104 designates the hierarchical type group X 3 (for example, “group 1” group) to which the user A belongs by using the input device 101 (step S1301: designation step (processing)). Setting unit 105, to indicate the group X 3 designated by the input device 101 as a group by the user A belongs, set by the processing device 103 the user information of the user A (step S1302), the storage device user information set 102 (step S1303) (steps S1302 to S1303: setting step (process)). The first storage unit 109 stores the user information of the user A regarding the hierarchical type group in the storage device 102 (step S1304: first storage step (process)).

指定部104は、データAへのアクセスを許可する階層タイプのグループY(例えば、「1課」のグループ)を入力装置101により指定する(ステップS1305:ステップ(処理))。設定部105は、入力装置101により指定されたグループYをデータAへのアクセスを許可するグループとして示すように、データAのデータ情報を処理装置103により設定する(ステップS1306)。さらに、設定部105は、グループYより下位の階層でグループYに属するグループ(例えば、「1係」のグループや「2係」のグループのように「1課」のグループを親とする子グループ)をすべてデータAへのアクセスを許可するグループとして示すように、データAのデータ情報を処理装置103により設定する(ステップS1307)。そして、設定部105は、設定したデータ情報を記憶装置102に書き込む(ステップS1308)(ステップS1306〜S1308:設定ステップ(処理))。第2の記憶部110は、階層タイプのグループについてのデータAのデータ情報を記憶装置102に記憶する(ステップS1309:第2の記憶ステップ(処理))。 The designation unit 104 designates a hierarchical type group Y 3 (for example, “Group 1” group) that permits access to the data A using the input device 101 (step S1305: step (process)). Setting unit 105, as shown a group Y 3 designated by the input device 101 as a group to allow access to data A, is set by the processor 103 the data information of the data A (step S1306). Furthermore, the setting unit 105 has a group belonging to the group Y 3 in a lower hierarchy than the group Y 3 (for example, the “1 section” group or the “2 section” group as the parent of the “1 section” group). The data information of the data A is set by the processing device 103 so as to indicate all the child groups as a group permitting access to the data A (step S1307). Then, the setting unit 105 writes the set data information in the storage device 102 (step S1308) (steps S1306 to S1308: setting steps (processing)). The second storage unit 110 stores the data information of the data A for the hierarchical type group in the storage device 102 (step S1309: second storage step (process)).

このように、本実施の形態では、データへのアクセスをツリー構造の任意の階層のどのグループ(例えば、会社などの組織の部署)に属するユーザに対して許可するかを指定するだけで、そのデータに対する適切なアクセス権の設定が自動的に行われる。例えば、図8の(a)のように、階層タイプのグループとして、「1部」のグループ、「1部」のグループの子グループにあたる「1課」、「2課」のグループ、「1課」のグループの子グループにあたる「1係」、「2係」のグループが設定されているとする。あるデータが「1課」内部のみに公開すべき情報だとすると、そのデータには「1課」に所属するユーザ全員がアクセスできなければならない。このとき、そのデータへのアクセスを許可するグループとして「1課」のグループだけを指定すれば、図6の(b)のように、自動的に「1係」、「2係」のグループもアクセスを許可するグループとして設定される。これにより、「1係」あるいは「2係」のグループに属するユーザに対して、「1課」のグループに属することを設定しておかなくても、そのユーザがデータにアクセスすることが可能となる。   In this way, in this embodiment, it is only necessary to specify which group (for example, a department of an organization such as a company) in any hierarchy of the tree structure is allowed to access data. Appropriate access rights for data are automatically set. For example, as shown in FIG. 8A, as a hierarchical type group, a group “1”, a group “1”, which is a child group of the group “1”, a group “1” It is assumed that groups “1” and “2” are set as child groups of “”. Assuming that certain data is information that should be disclosed only to “1st section”, all users belonging to “1st section” must be able to access the data. At this time, if only the “Group 1” group is designated as a group that permits access to the data, the “Group 1” group and the “Group 2” group are automatically set as shown in FIG. It is set as a group that allows access. As a result, a user belonging to the “1” or “2” group can access the data without setting that the user belongs to the “1 Section” group. Become.

図9は、ユーザAからデータAへのアクセスを要求されるときのアクセス制御装置100の動作を示すフロー図である。   FIG. 9 is a flowchart showing the operation of the access control apparatus 100 when the user A requests access to the data A.

入力部106は、ユーザAによるデータAへのアクセス要求を入力装置101により入力する(ステップS1401:入力ステップ(処理))(ユーザAによるデータAへのアクセス要求を予め記憶装置102に記憶しておき、比較部107が、このアクセス要求を記憶装置102から読み込んでもよい)。比較部107は、入力装置101により入力されたアクセス要求に応じて(比較部107がアクセス要求を記憶装置102から読み込む場合には、記憶装置102から読み込んだアクセス要求に応じて)、基本タイプ、権限タイプ、階層タイプそれぞれのグループについてのユーザAのユーザ情報とデータAのデータ情報とを記憶装置102から読み込み(ステップS1402)、読み込んだ基本タイプ、権限タイプ、階層タイプそれぞれのグループについてのユーザ情報とデータ情報とを処理装置103により比較する(ステップS1403)(ステップS1402〜S1403:比較ステップ(処理))。判断部108は、処理装置103による比較結果に基づいて、ユーザAによるデータAへのアクセスの許否を処理装置103により判断する(ステップS1404:判断ステップ(処理))。   The input unit 106 inputs an access request to the data A by the user A using the input device 101 (step S1401: input step (process)) (the access request to the data A by the user A is stored in the storage device 102 in advance. The comparison unit 107 may read this access request from the storage device 102). The comparison unit 107 responds to the access request input from the input device 101 (when the comparison unit 107 reads the access request from the storage device 102, according to the access request read from the storage device 102), the basic type, The user information of user A and the data information of data A for each group of authority type and hierarchy type are read from the storage device 102 (step S1402), and the user information about each group of the read basic type, authority type, and hierarchy type And the data information are compared by the processing device 103 (step S1403) (steps S1402 to S1403: comparison step (processing)). Based on the comparison result by the processing device 103, the determination unit 108 determines whether or not the user A is permitted to access the data A by the processing device 103 (step S1404: determination step (processing)).

例えば、図10のように、アクセス権限のレベルとして上位から順番に「機密」、「極秘」、「秘」の3つのレベルがあり、部署として「1部」、「1部」に属する「1課」及び「2課」、「1課」に属する「1係」及び「2係」があり、プロジェクトとして「Xプロジェクト」、「Yプロジェクト」、「Zプロジェクト」があるとする。そして、「秘」レベル以上のアクセス権限を持ち、「1係」に所属し、かつ、「Xプロジェクト」あるいは「Zプロジェクト」を担当するユーザのみにデータAへのアクセスを許可するようにデータ情報が設定されているとする。また、ユーザAについては、権限タイプのグループでは「極秘」のグループに、階層タイプのグループでは「1係」のグループに、基本タイプのグループでは「Xプロジェクト」及び「Zプロジェクト」のグループに属するようにユーザ情報が設定されているとする。ユーザBについては、権限タイプのグループでは「極秘」のグループに、階層タイプのグループでは「1係」のグループに、基本タイプのグループでは「Zプロジェクト」のグループに属するようにユーザ情報が設定されているとする。ユーザCについては、権限タイプのグループでは「秘」のグループに、階層タイプのグループでは「2係」のグループに、基本タイプのグループでは「Yプロジェクト」のグループに属するようにユーザ情報が設定されているとする。   For example, as shown in FIG. 10, there are three levels of “privacy”, “confidential”, and “secret” in order from the top as access authority levels, and “1” belonging to “1” and “1” as departments It is assumed that there are “section 1” and “section 2” belonging to “section”, “section 2”, and “section 1”, and “X project”, “Y project”, and “Z project” as projects. The data information is set so that only a user who has an access authority of “secret” level or higher, belongs to “1 person”, and is in charge of “X project” or “Z project” can access data A. Is set. Further, the user A belongs to the “confidential” group in the authority type group, the “one person” group in the hierarchical type group, and the “X project” and “Z project” groups in the basic type group. It is assumed that user information is set as described above. For user B, the user information is set so that it belongs to the “confidential” group in the authority type group, the “one person” group in the hierarchical type group, and the “Z project” group in the basic type group. Suppose that For user C, user information is set so that it belongs to the “secret” group in the authority type group, the “two-member” group in the hierarchical type group, and the “Y project” group in the basic type group. Suppose that

このような場合、従来の方法では、データAに対するアクセス制御のための条件を、(「機密」OR「極秘」OR「秘」)AND「1係」AND(「Xプロジェクト」OR「Zプロジェクト」)といった複雑な形式で設定しなければならなかった。また、ユーザAに対するアクセス制御のための条件を、「極秘」AND「1係」AND(「Xプロジェクト」OR「Zプロジェクト」)といった複雑な形式で設定しなければならなかった。一方、本実施の形態では、前述したような簡易な設定で、各ユーザのデータAへのアクセス制御を行うことが可能である。例えば、まず権限タイプのグループについてのユーザ情報とデータ情報とを比較し、ユーザがデータAへのアクセスを許可された権限タイプのグループに属していない場合には、そのユーザのアクセスを拒否することを直ちに判断することができる。次に階層タイプのグループについてのユーザ情報とデータ情報とを比較し、ユーザがデータAへのアクセスを許可された階層タイプのグループに属していない場合には、そのユーザ(この例では、ユーザC)のアクセスを拒否することを直ちに判断することができる。最後に基本タイプのグループについてのユーザ情報とデータ情報とを比較し、ユーザがデータAへのアクセスを許可された基本タイプのグループに属していない場合には、そのユーザ(この例では、ユーザB)のアクセスを拒否することを判断することができる。   In such a case, according to the conventional method, the condition for controlling the access to the data A is (“confidential” OR “confidential” OR “secret”) AND “one” AND (“X project” OR “Z project”. ) Had to be set in a complicated format. In addition, the conditions for controlling access to the user A must be set in a complicated format such as “confidential” AND “1” AND (“X project” OR “Z project”). On the other hand, in the present embodiment, it is possible to control access to the data A of each user with the simple setting as described above. For example, first, the user information and the data information for the authority type group are compared, and if the user does not belong to the authority type group permitted to access the data A, the user's access is denied. Can be determined immediately. Next, the user information and the data information for the hierarchical type group are compared, and if the user does not belong to the hierarchical type group permitted to access the data A, the user (in this example, the user C ) To immediately deny access. Finally, the user information and data information for the basic type group are compared. If the user does not belong to the basic type group permitted to access the data A, the user (in this example, the user B) is compared. ) To deny access.

以上のように、本実施の形態に係るアクセス制御装置は、
入力装置と記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御装置において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶部と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶部と、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力部と、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較部と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断部とを備えることを特徴とする。
As described above, the access control apparatus according to the present embodiment is
In an access control device for controlling access to data by a user using a computer having an input device, a storage device, and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage unit that stores in the storage device for each group type and each user indicating
A second storage unit that stores data information indicating a group that allows access to each piece of data among a plurality of groups of the same group type in the storage device for each group type and each data;
An input unit for inputting a request for access to data by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information A comparison unit that compares the data information with the processing device for each group type;
And a determination unit that determines whether the access is permitted or not based on a comparison result for each group type by the processing device.

このような特徴により、データに対するアクセスを制御する際に、同一のユーザが複数のグループに属する場合においても、多様な条件に合わせてアクセス制御をし、かつ、そのための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, even when the same user belongs to a plurality of groups, it is possible to perform access control according to various conditions and to facilitate the setting. It becomes possible.

前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure As described above, at least two of the three types of hierarchical groups in which each group is set are included.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが担当プロジェクトごとに設定されるグループとアクセス権限のレベルごとに設定されるグループと所属部署ごとに設定されるグループとに属する場合において、各ユーザがどのプロジェクトを担当し、どのレベルのアクセス権限を持ち、どの部署に所属しているかといった多様な条件に合わせてアクセス制御をすることが可能となる。   Due to these characteristics, when controlling access to data, for example, a group in which the same user is set for each project in charge, a group set for each access authority level, a group set for each department, , It is possible to control access according to various conditions such as which project each user is in charge of, which level of access authority, and which department.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御装置は、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control device
A designation unit for designating a group of authority types that allow access to data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. And a setting unit for writing the set data information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザがアクセス権限のレベルごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, for example, when the same user belongs to a group set for each access authority level and a group set based on other setting criteria, It is possible to facilitate setting for control.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御装置は、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control device
A designation unit that designates a group of a hierarchical type that allows access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. And a setting unit for writing the set data information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが所属部署ごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   Due to such a feature, when controlling access to data, for example, when the same user belongs to a group set for each department and a group set based on other setting criteria, access control is performed. It is possible to facilitate the setting for doing so.

また、本実施の形態に係るアクセス制御方法は、
入力装置と記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御方法において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶ステップと、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶ステップと、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力ステップと、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較ステップと、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断ステップとを備えることを特徴とする。
In addition, the access control method according to the present embodiment is
In an access control method for controlling access to data by a user using a computer having an input device, a storage device, and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage step of storing in the storage device for each group type and each user indicating whether
A second storage step of storing, in the storage device for each group type and each data, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
An input step of inputting a data access request by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information A comparison step in which the processing device compares data information for each group type;
And a determination step of determining, by the processing device, whether the access is permitted based on a comparison result for each group type by the processing device.

このような特徴により、データに対するアクセスを制御する際に、同一のユーザが複数のグループに属する場合においても、多様な条件に合わせてアクセス制御をし、かつ、そのための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, even when the same user belongs to a plurality of groups, it is possible to perform access control according to various conditions and to facilitate the setting. It becomes possible.

前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure As described above, at least two of the three types of hierarchical groups in which each group is set are included.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが担当プロジェクトごとに設定されるグループとアクセス権限のレベルごとに設定されるグループと所属部署ごとに設定されるグループとに属する場合において、各ユーザがどのプロジェクトを担当し、どのレベルのアクセス権限を持ち、どの部署に所属しているかといった多様な条件に合わせてアクセス制御をすることが可能となる。   Due to these characteristics, when controlling access to data, for example, a group in which the same user is set for each project in charge, a group set for each access authority level, a group set for each department, , It is possible to control access according to various conditions such as which project each user is in charge of, which level of access authority, and which department.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御方法は、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control method includes:
A designation step of designating a group of authority types that allow access to data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. And a setting step of writing the set data information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザがアクセス権限のレベルごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, for example, when the same user belongs to a group set for each access authority level and a group set based on other setting criteria, It is possible to facilitate setting for control.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御方法は、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control method includes:
A designation step for designating a hierarchical type group that allows access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. And a setting step of writing the set data information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが所属部署ごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   Due to such a feature, when controlling access to data, for example, when the same user belongs to a group set for each department and a group set based on other setting criteria, access control is performed. It is possible to facilitate the setting for doing so.

また、本実施の形態に係るアクセス制御プログラムは、
入力装置と記憶装置と処理装置とを有するコンピュータにより実行されてユーザによるデータへのアクセスを制御するアクセス制御プログラムにおいて、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶処理と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶処理と、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力処理と、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較処理と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断処理とをコンピュータに実行させることを特徴とする。
The access control program according to the present embodiment is
In an access control program that is executed by a computer having an input device, a storage device, and a processing device to control access to data by a user,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage process for storing in the storage device for each group type and each user indicating
A second storage process for storing, in the storage device, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
An input process for inputting a data access request by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information Comparison processing for comparing data information for each group type by the processing device;
Based on a comparison result for each group type by the processing device, the computer is caused to execute determination processing for determining whether the access is permitted or not by the processing device.

このような特徴により、データに対するアクセスを制御する際に、同一のユーザが複数のグループに属する場合においても、多様な条件に合わせてアクセス制御をし、かつ、そのための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, even when the same user belongs to a plurality of groups, it is possible to perform access control according to various conditions and to facilitate the setting. It becomes possible.

前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure As described above, at least two of the three types of hierarchical groups in which each group is set are included.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが担当プロジェクトごとに設定されるグループとアクセス権限のレベルごとに設定されるグループと所属部署ごとに設定されるグループとに属する場合において、各ユーザがどのプロジェクトを担当し、どのレベルのアクセス権限を持ち、どの部署に所属しているかといった多様な条件に合わせてアクセス制御をすることが可能となる。   Due to these characteristics, when controlling access to data, for example, a group in which the same user is set for each project in charge, a group set for each access authority level, a group set for each department, , It is possible to control access according to various conditions such as which project each user is in charge of, which level of access authority, and which department.

前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御プログラムは、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control program is
A designation process for designating a group of authority types permitted to access data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. And setting processing for writing the set data information to the storage device is executed by the computer.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザがアクセス権限のレベルごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, for example, when the same user belongs to a group set for each access authority level and a group set based on other setting criteria, It is possible to facilitate setting for control.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御プログラムは、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control program is
A designation process for designating a hierarchical type group that permits access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. And setting processing for writing the set data information to the storage device is executed by the computer.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが所属部署ごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   Due to such a feature, when controlling access to data, for example, when the same user belongs to a group set for each department and a group set based on other setting criteria, access control is performed. It is possible to facilitate the setting for doing so.

実施の形態2.
以下では、本実施の形態に係るアクセス制御装置の動作について、実施の形態1との差異を主に説明する。本実施の形態に係るアクセス制御装置の構成は、図1に示した実施の形態1のアクセス制御装置100と同様である。また、本実施の形態において、基本タイプのグループについてユーザAのユーザ情報とデータAのデータ情報を設定するときのアクセス制御装置100の動作は、図4を用いて説明した実施の形態1のものと同様である。また、本実施の形態において、ユーザAからデータAへのアクセスを要求されるときのアクセス制御装置100の動作は、図9を用いて説明した実施の形態1のものと同様である。
Embodiment 2. FIG.
In the following, with respect to the operation of the access control apparatus according to the present embodiment, differences from the first embodiment will be mainly described. The configuration of the access control apparatus according to the present embodiment is the same as that of access control apparatus 100 of the first embodiment shown in FIG. In the present embodiment, the operation of access control apparatus 100 when setting user information of user A and data information of data A for the basic type group is the same as that of the first embodiment described with reference to FIG. It is the same. In this embodiment, the operation of access control apparatus 100 when user A requests access to data A is the same as that of the first embodiment described with reference to FIG.

図11は、権限タイプのグループについてユーザAのユーザ情報とデータAのデータ情報を設定するときのアクセス制御装置100の動作を示すフロー図である。   FIG. 11 is a flowchart showing the operation of the access control apparatus 100 when setting user information of user A and data information of data A for the authority type group.

指定部104は、ユーザAが属する権限タイプのグループX(例えば、「極秘」のグループ)を入力装置101により指定する(ステップS2201:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループXをユーザAが属するグループとして示すように、ユーザAのユーザ情報を処理装置103により設定する(ステップS2202)。さらに、設定部105は、グループXより低いアクセス権限のレベルに対応するグループ(例えば、「秘」のグループ)をすべてユーザAが属するグループとして示すように、ユーザAのユーザ情報を処理装置103により設定する(ステップS2203)。そして、設定部105は、設定したユーザ情報を記憶装置102に書き込む(ステップS2204)(ステップS2202〜S2204:設定ステップ(処理))。第1の記憶部109は、権限タイプのグループについてのユーザAのユーザ情報を記憶装置102に記憶する(ステップS2205:第1の記憶ステップ(処理))。 The designation unit 104 designates the authority type group X 2 (for example, “confidential” group) to which the user A belongs by using the input device 101 (step S2201: designation step (process)). Setting unit 105, to indicate a group X 2 which is designated by the input device 101 as a group by the user A belongs, it is set by the processing device 103 the user information of the user A (step S2202). Furthermore, the setting unit 105 displays the user information of the user A so that all the groups corresponding to the access authority level lower than the group X 2 (for example, the “secret” group) belong to the user A. (Step S2203). Then, the setting unit 105 writes the set user information in the storage device 102 (step S2204) (steps S2202 to S2204: setting step (process)). The first storage unit 109 stores the user information of the user A regarding the authority type group in the storage device 102 (step S2205: first storage step (process)).

指定部104は、データAへのアクセスを許可する権限タイプのグループY(例えば、前述した「秘」のグループ)を入力装置101により指定する(ステップS2206:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループYをデータAへのアクセスを許可するグループとして示すように、データAのデータ情報を処理装置103により設定し(ステップS2207)、設定したデータ情報を記憶装置102に書き込む(ステップS2208)(ステップS2207〜S2208:設定ステップ(処理))。第2の記憶部110は、権限タイプのグループについてのデータAのデータ情報を記憶装置102に記憶する(ステップS2209:第2の記憶ステップ(処理))。 The designation unit 104 designates the authority type group Y 2 (for example, the “secret” group described above) that permits access to the data A by the input device 101 (step S2206: designation step (process)). Setting unit 105, to indicate the group Y 2 designated by the input device 101 as a group to allow access to the data A, and set by the processing device 103 the data information of the data A (step S2207), the set data Information is written in the storage device 102 (step S2208) (steps S2207 to S2208: setting step (process)). The second storage unit 110 stores the data information of the data A for the authority type group in the storage device 102 (step S2209: second storage step (process)).

このように、本実施の形態では、実施の形態1と同様の考え方に基づき、ユーザのアクセス権限のレベルを指定するだけで、そのユーザに対する適切なアクセス権の設定が自動的に行われる。例えば、図示していないが、権限タイプのグループとして、アクセス権限のレベルの上位から順番に「機密」、「極秘」、「秘」、「注意」のグループが設定されているとする。あるユーザが「極秘」レベルのアクセス権限を持つとすると、そのユーザは「極秘」レベルの情報を含むデータだけでなく、その下位の「秘」、「注意」レベルの情報を含むデータにもアクセスできなければならない。このとき、そのユーザが属するグループとして「極秘」のグループだけを指定すれば、自動的に「秘」、「注意」のグループもそのユーザが属するグループとして設定される。これにより、「秘」あるいは「注意」のグループに属するユーザからのアクセスを許可するデータに対して、「極秘」のグループに属するユーザからのアクセスを許可することを設定しておかなくても、ユーザはそのデータにアクセスすることが可能となる。   As described above, in the present embodiment, based on the same concept as in the first embodiment, setting the appropriate access right for the user is automatically performed only by specifying the level of the access right of the user. For example, although not shown, it is assumed that “confidential”, “confidential”, “secret”, and “caution” groups are set in order from the top of the access authority level as the authority type group. If a user has "confidential" level access privileges, the user has access not only to data containing "secret" level information, but also to data containing "secret" and "caution" level information below it. It must be possible. At this time, if only the “confidential” group is designated as the group to which the user belongs, the “secret” and “caution” groups are automatically set as the groups to which the user belongs. As a result, even if you do not set to allow access from users belonging to the “secret” group to data that allows access from users belonging to the “secret” or “caution” group, The user can access the data.

図12は、階層タイプのグループについてユーザAのユーザ情報とデータAのデータ情報を設定するときのアクセス制御装置100の動作を示すフロー図である。   FIG. 12 is a flowchart showing the operation of the access control apparatus 100 when setting user information of user A and data information of data A for a hierarchical type group.

指定部104は、ユーザAが属する階層タイプのグループX(例えば、「1係」のグループ)を入力装置101により指定する(ステップS2301:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループXをユーザAが属するグループとして示すように、ユーザAのユーザ情報を処理装置103により設定する(ステップS2302)。さらに、設定部105は、グループXより上位の階層でグループXが属するグループ(例えば、「1課」のグループのように「1係」のグループを子とする親グループ)をすべてユーザAが属するグループとして示すように、ユーザAのユーザ情報を処理装置103により設定する(ステップS2303)。そして、設定部105は、設定したユーザ情報を記憶装置102に書き込む(ステップS2304)(ステップS2302〜S2304:設定ステップ(処理))。第1の記憶部109は、階層タイプのグループについてのユーザAのユーザ情報を記憶装置102に記憶する(ステップS2305:第1の記憶ステップ(処理))。 The designation unit 104 designates the hierarchical type group X 3 (for example, “group 1” group) to which the user A belongs by using the input device 101 (step S2301: designation step (process)). Setting unit 105, to indicate the group X 3 designated by the input device 101 as a group by the user A belongs, it is set by the processing device 103 the user information of the user A (step S2302). Furthermore, setting section 105, a group the group X 3 belongs in the upper hierarchy from the group X 3 (e.g., a parent group to the child groups of "1 engagement" as a group of "1 Section") All user A As shown as the group to which the user belongs, the user information of the user A is set by the processing device 103 (step S2303). Then, the setting unit 105 writes the set user information in the storage device 102 (step S2304) (steps S2302 to S2304: setting step (process)). The first storage unit 109 stores the user information of the user A regarding the hierarchical type group in the storage device 102 (step S2305: first storage step (process)).

指定部104は、データAへのアクセスを許可する階層タイプのグループY(例えば、「1課」のグループ)を入力装置101により指定する(ステップS2306:指定ステップ(処理))。設定部105は、入力装置101により指定されたグループYをデータAへのアクセスを許可するグループとして示すように、データAのデータ情報を処理装置103により設定し(ステップS2307)、設定したデータ情報を記憶装置102に書き込む(ステップS2308)(ステップS2307〜S2308:設定ステップ(処理))。第2の記憶部110は、階層タイプのグループについてのデータAのデータ情報を記憶装置102に記憶する(ステップS2309:第2の記憶ステップ(処理))。 The designating unit 104 designates a hierarchical type group Y 3 (for example, “Group 1” group) that permits access to the data A using the input device 101 (step S2306: designation step (processing)). Setting unit 105, as shown a group Y 3 designated by the input device 101 as a group to allow access to the data A, and set by the processing device 103 the data information of the data A (step S2307), the set data Information is written into the storage device 102 (step S2308) (steps S2307 to S2308: setting step (process)). The second storage unit 110 stores the data information of the data A for the hierarchical type group in the storage device 102 (step S2309: second storage step (process)).

このように、本実施の形態では、実施の形態1と同様の考え方に基づき、ユーザがツリー構造の任意の階層のどのグループ(例えば、会社などの組織の部署)に属するかを指定するだけで、そのユーザに対する適切なアクセス権の設定が自動的に行われる。例えば、図示していないが、階層タイプのグループとして、「1部」のグループ、「1部」のグループの子グループにあたる「1課」、「2課」のグループ、「1課」のグループの子グループにあたる「1係」、「2係」のグループが設定されているとする。あるユーザが「1係」に所属しているとすると、そのユーザは「1係」内部のみに公開すべき情報を含むデータだけでなく、「1課」内部のみに公開すべき(「2係」にも公開される)情報を含むデータにもアクセスできなければならない。このとき、そのユーザが属するグループとして「1係」のグループだけを指定すれば、自動的に「1課」のグループもそのユーザが属するグループとして設定される。これにより、「1課」のグループに属するユーザからのアクセスを許可するデータに対して、「1係」のグループに属するユーザからのアクセスを許可することを設定しておかなくても、ユーザはそのデータにアクセスすることが可能となる。   As described above, in the present embodiment, based on the same idea as in the first embodiment, it is only necessary to specify which group (for example, a department of an organization such as a company) belongs to an arbitrary hierarchy of the tree structure. The appropriate access right for the user is automatically set. For example, although not shown in the drawing, as a group of a hierarchical type, “Group 1”, “Group 2” group, “Group 1” group which is a child group of “Group 1” group, “Group 1” group Assume that groups “1” and “2” corresponding to child groups are set. Assuming that a user belongs to “1 Section”, the user should not only disclose data including information to be disclosed only within “1 Section” but also only within “1 Section” (“2 Section”). It must also be possible to access data containing information (also published in At this time, if only the group “1” is designated as the group to which the user belongs, the “section 1” group is automatically set as the group to which the user belongs. As a result, even if it is not set to permit the access from the user belonging to the “group 1” group to the data permitting the access from the user belonging to the “section 1” group, the user can The data can be accessed.

以上のように、本実施の形態に係るアクセス制御装置は、
実施の形態1と同様のアクセス制御装置において、
前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御装置は、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
As described above, the access control apparatus according to the present embodiment is
In the same access control apparatus as in the first embodiment,
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control device
A designation unit for designating the authority type group to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, And a setting unit for writing the set user information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザがアクセス権限のレベルごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, for example, when the same user belongs to a group set for each access authority level and a group set based on other setting criteria, It is possible to facilitate setting for control.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御装置は、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control device
A designation unit for designating a group of a hierarchical type to which a user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, And a setting unit for writing the set user information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが所属部署ごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   Due to such a feature, when controlling access to data, for example, when the same user belongs to a group set for each department and a group set based on other setting criteria, access control is performed. It is possible to facilitate the setting for doing so.

また、本実施の形態に係るアクセス制御方法は、
実施の形態1と同様のアクセス制御方法において、
前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御方法は、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
In addition, the access control method according to the present embodiment is
In the same access control method as in the first embodiment,
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control method includes:
A designation step for designating a group of authority types to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, A setting step of writing the set user information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザがアクセス権限のレベルごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, for example, when the same user belongs to a group set for each access authority level and a group set based on other setting criteria, It is possible to facilitate setting for control.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御方法は、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control method includes:
A designation step for designating a hierarchical type group to which the user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, A setting step of writing the set user information to the storage device.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが所属部署ごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   Due to such a feature, when controlling access to data, for example, when the same user belongs to a group set for each department and a group set based on other setting criteria, access control is performed. It is possible to facilitate the setting for doing so.

また、本実施の形態に係るアクセス制御プログラムは、
実施の形態1と同様のアクセス制御プログラムにおいて、
前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御プログラムは、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The access control program according to the present embodiment is
In the same access control program as in the first embodiment,
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control program is
A designation process for designating the authority type group to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, A setting process for writing the set user information to the storage device is executed by a computer.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザがアクセス権限のレベルごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   With such a feature, when controlling access to data, for example, when the same user belongs to a group set for each access authority level and a group set based on other setting criteria, It is possible to facilitate setting for control.

前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御プログラムは、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control program is
A designation process for designating a hierarchical type group to which the user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, A setting process for writing the set user information to the storage device is executed by a computer.

このような特徴により、データに対するアクセスを制御する際に、例えば、同一のユーザが所属部署ごとに設定されるグループと他の設定基準に基づいて設定されるグループとに属する場合において、アクセス制御をするための設定を容易にすることが可能となる。   Due to such a feature, when controlling access to data, for example, when the same user belongs to a group set for each department and a group set based on other setting criteria, access control is performed. It is possible to facilitate the setting for doing so.

実施の形態3.
以下では、本実施の形態に係るアクセス制御装置の動作について、実施の形態1及び2との差異を主に説明する。本実施の形態に係るアクセス制御装置の構成は、図1に示した実施の形態1のアクセス制御装置100と同様である。また、本実施の形態において、ユーザAのユーザ情報とデータAのデータ情報を設定するときのアクセス制御装置100の動作は、実施の形態1及び2のものと同様である。
Embodiment 3 FIG.
In the following, the operation of the access control apparatus according to the present embodiment will be described mainly with respect to differences from the first and second embodiments. The configuration of the access control apparatus according to the present embodiment is the same as that of access control apparatus 100 of the first embodiment shown in FIG. In the present embodiment, the operation of access control apparatus 100 when setting user information of user A and data information of data A is the same as in the first and second embodiments.

本実施の形態では、ユーザ情報はビット列として設定され、グループごとに予め定められた位置のビットが1であれば、そのビットに対応するグループにユーザが属することを示し、ビットが0であれば、そのビットに対応するグループにユーザが属さないことを示すものとする。同様に、本実施の形態では、データ情報はビット列として設定され、グループごとに予め定められた位置のビットが1であれば、そのビットに対応するグループに属するユーザからのデータへのアクセスを許可することを示し、ビットが0であれば、そのビットに対応するグループに属するユーザからのデータへのアクセスを拒否することを示すものとする。   In this embodiment, the user information is set as a bit string, and if the bit at a predetermined position for each group is 1, it indicates that the user belongs to the group corresponding to that bit, and if the bit is 0 It is assumed that the user does not belong to the group corresponding to the bit. Similarly, in this embodiment, data information is set as a bit string, and if a bit at a predetermined position for each group is 1, access to data from users belonging to the group corresponding to the bit is permitted. If the bit is 0, it indicates that access to data from users belonging to the group corresponding to the bit is denied.

図13は、ユーザAからデータAへのアクセスを要求されるときのアクセス制御装置100の動作を示すフロー図である。   FIG. 13 is a flowchart showing the operation of the access control apparatus 100 when the user A requests access to the data A.

入力部106は、ユーザAによるデータAへのアクセス要求を入力装置101により入力する(ステップS3401:入力ステップ(処理))(ユーザAによるデータAへのアクセス要求を予め記憶装置102に記憶しておき、比較部107が、このアクセス要求を記憶装置102から読み込んでもよい)。比較部107は、入力装置101により入力されたアクセス要求に応じて(比較部107がアクセス要求を記憶装置102から読み込む場合には、記憶装置102から読み込んだアクセス要求に応じて)、基本タイプ、権限タイプ、階層タイプそれぞれのグループについてのユーザAのユーザ情報とデータAのデータ情報とを記憶装置102から読み込む(ステップS3402)。比較部107は、読み込んだ基本タイプ、権限タイプ、階層タイプそれぞれのグループについてのユーザ情報とデータ情報との論理積を処理装置103により演算する(ステップS3403)。比較部107は、処理装置103による論理積演算結果に含まれるすべてのビットの論理和を基本タイプ、権限タイプ、階層タイプそれぞれのグループについて処理装置103により演算する(ステップS3404)(ステップS3402〜S3404:比較ステップ(処理))。判断部108は、処理装置103による基本タイプ、権限タイプ、階層タイプそれぞれのグループについての論理和演算結果の論理積を処理装置103により演算する(ステップS3405)。判断部108は、この論理積演算結果が1の場合は、ユーザAによるデータAへのアクセスを許可することを判断し(ステップS3406)、この論理積演算結果が0の場合は、ユーザAによるデータAへのアクセスを拒否することを判断する(ステップS3407)(ステップS3405〜S3407:判断ステップ(処理))。   The input unit 106 inputs an access request to the data A by the user A using the input device 101 (step S3401: input step (processing)) (the access request to the data A by the user A is stored in the storage device 102 in advance. The comparison unit 107 may read this access request from the storage device 102). The comparison unit 107 responds to the access request input from the input device 101 (when the comparison unit 107 reads the access request from the storage device 102, according to the access request read from the storage device 102), the basic type, The user information of user A and the data information of data A for each group of authority type and hierarchy type are read from the storage device 102 (step S3402). The comparison unit 107 uses the processing device 103 to calculate the logical product of the user information and the data information for each group of the read basic type, authority type, and hierarchy type (step S3403). The comparison unit 107 calculates the logical sum of all bits included in the logical product operation result by the processing device 103 by the processing device 103 for each group of the basic type, authority type, and hierarchy type (steps S3404 to S3404). : Comparison step (processing)). The determination unit 108 uses the processing device 103 to calculate the logical product of the logical sum operation results for the basic type, authority type, and hierarchy type groups by the processing device 103 (step S3405). When the logical product operation result is 1, the determining unit 108 determines that the user A is permitted to access the data A (step S3406). When the logical product operation result is 0, the user A performs the operation. It is determined to deny access to data A (step S3407) (steps S3405 to S3407: determination step (process)).

例えば、図14の(a)のように、部署として「1課」及び「2課」、「1課」に属する「1係」、「2係」、「3係」及び「4係」、「2課」に属する「1係」及び「2係」があり、図14の(b)のように、アクセス権限のレベルとして上位から順番に「極秘」、「秘」、「注意」の3つのレベルがあるとする。図14の(a)及び(b)において、グループの名称の右側に表示された数字は、そのグループがビット列の何桁目(右から何番目のビット)に対応するかを示す。例えば、階層タイプのグループである「1課」のグループは、階層タイプのグループについてのユーザ情報及びデータ情報のビット列の1桁目(右から1番目のビット)に対応する。   For example, as shown in (a) of FIG. 14, “Department 1” and “Department 2” as departments, “Department 1”, “Department 2”, “Department 3” and “Department 4”, There are “1 Section” and “2 Section” belonging to “Section 2”. As shown in FIG. 14B, the access authority levels are “Top Secret”, “Secret”, and “Caution” in order from the top. Suppose there are two levels. In (a) and (b) of FIG. 14, the number displayed on the right side of the name of the group indicates what digit (the number of bits from the right) of the bit string the group corresponds to. For example, the group “section 1”, which is a hierarchical type group, corresponds to the first digit (the first bit from the right) of the bit string of user information and data information regarding the hierarchical type group.

この例では、図14の(c)のように、「1課」に所属し、かつ、「注意」レベル以上のアクセス権限を持つユーザのみにデータAへのアクセスを許可するようにデータ情報が設定されているとする。そして、「2課」に所属し、かつ、「極秘」レベル以上のアクセス権限を持つユーザのみにデータBへのアクセスを許可するようにデータ情報が設定されているとする。また、ユーザAについては、階層タイプのグループでは「1課」の「2係」、「4係」、及び「2課」の「2係」のグループに、権限タイプのグループでは「秘」のグループに属するようにユーザ情報が設定されているとする。ここでは、説明の便宜上、データ情報が実施の形態1と同様の方法(例えば、図5のステップS1207、図7のステップS1307参照)で設定され、ユーザ情報が実施の形態2と同様の方法(例えば、図11のステップS2203、図12のステップS2303参照)で設定された場合の例を示しているが、データ情報とユーザ情報との両方を実施の形態1と同様の方法で設定してもよいし、実施の形態2と同様の方法で設定してもよい。   In this example, as shown in FIG. 14 (c), the data information is set so that only the user who belongs to “Section 1” and has the access authority of the “attention” level or higher is allowed to access the data A. Suppose that it is set. It is assumed that the data information is set so that only a user who belongs to “Section 2” and has an access authority of “top secret” level or higher is allowed to access data B. For user A, “Group 2”, “Group 4”, and “Group 2” “Group 2” groups in the “Group 1” group, and “Secret” in the authority type group It is assumed that user information is set so as to belong to a group. Here, for convenience of explanation, the data information is set by the same method as in the first embodiment (for example, see step S1207 in FIG. 5 and step S1307 in FIG. 7), and the user information is set in the same method as in the second embodiment ( For example, although an example in the case of setting in step S2203 in FIG. 11 and step S2303 in FIG. 12 is shown, both data information and user information may be set by the same method as in the first embodiment. It may be set by the same method as in the second embodiment.

図14の(c)に示すように、この例では、まず階層タイプのグループについてのユーザ情報のビット列とデータ情報のビット列とを論理積演算し、さらに、論理積演算結果に含まれるすべてのビット(桁)の論理和を求めている。論理和が0であれば、ユーザがデータへのアクセスを許可された階層タイプのグループに属していないことがわかり、その場合には、そのユーザのアクセスを拒否することを直ちに判断することができる(即ち、次の権限タイプのグループについての演算を省略することができる)。この例では、次に権限タイプのグループについてのユーザ情報のビット列とデータ情報のビット列とを論理積演算し、さらに、論理積演算結果に含まれるすべてのビット(桁)の論理和を求めている。論理和が0であれば、ユーザがデータへのアクセスを許可された権限タイプのグループに属していないことがわかり、その場合には、そのユーザのアクセス(この例では、データBに対するアクセス)を拒否することを判断することができる。階層タイプ、権限タイプのグループについてそれぞれ行われた論理和演算の結果がすべて1である場合、即ち、それぞれの論理和演算結果の論理積が1である場合には、ユーザのアクセス(この例では、データAに対するアクセス)を許可することを判断することができる。   As shown in FIG. 14C, in this example, first, the bit sequence of the user information and the bit sequence of the data information for the hierarchical type group are ANDed, and all the bits included in the AND operation result are further calculated. Find the logical sum of (digits). If the logical sum is 0, it can be understood that the user does not belong to the group of the hierarchical type permitted to access the data, and in this case, it can be immediately determined that the access of the user is denied. (That is, the operation for the next authority type group can be omitted). In this example, the bit sequence of the user information and the bit sequence of the data information for the authority type group are next subjected to a logical product operation, and further, a logical sum of all bits (digits) included in the logical product operation result is obtained. . If the logical sum is 0, it is found that the user does not belong to the authority type group permitted to access the data. In this case, the user's access (access to data B in this example) is determined. You can decide to refuse. When the result of the logical sum operation performed on each of the group of the hierarchy type and the authority type is all 1, that is, when the logical product of each logical sum operation result is 1, the user access (in this example, , Access to data A) can be determined.

以上のように、本実施の形態に係るアクセス制御装置は、
実施の形態1及び2と同様のアクセス制御装置において、
前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較部は、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断部は、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする。
As described above, the access control apparatus according to the present embodiment is
In the same access control apparatus as in the first and second embodiments,
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
The comparison unit performs a logical operation on the read user information and data information by the processing device for each group type,
The determination unit is configured to determine, by the processing device, whether the access is permitted based on a logical operation result for each group type by the processing device.

前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較部は、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断部は、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
The comparison unit calculates a logical product of the read user information and data information by the processing device for each group type, and calculates a logical sum of all bits included in the calculation result by the processing device for each group type. And
The determination unit calculates a logical product of logical OR calculation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is In the case of 0, it is judged that the access is denied.

また、本実施の形態に係るアクセス制御方法は、
実施の形態1及び2と同様のアクセス制御方法において、
前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較ステップは、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断ステップは、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする。
In addition, the access control method according to the present embodiment is
In the same access control method as in the first and second embodiments,
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
The comparison step performs logical operation on the read user information and data information by the processing device for each group type,
In the determining step, the processing device determines whether the access is permitted or not based on a logical operation result for each group type by the processing device.

前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較ステップは、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断ステップは、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
The comparison step calculates a logical product of the read user information and data information by the processing device for each group type, and calculates a logical sum of all bits included in the calculation result by the processing device for each group type. And
In the determination step, the processing device calculates a logical product of logical sum operation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is In the case of 0, it is judged that the access is denied.

また、本実施の形態に係るアクセス制御プログラムは、
実施の形態1及び2と同様のアクセス制御プログラムにおいて、
前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較処理は、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断処理は、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする。
The access control program according to the present embodiment is
In the same access control program as in the first and second embodiments,
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
In the comparison process, the read user information and data information are logically operated by the processing device for each group type,
The determination process is characterized in that the processing device determines whether the access is permitted or not based on a logical operation result for each group type by the processing device.

前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較処理は、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断処理は、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
In the comparison process, a logical product of the read user information and data information is calculated by the processing device for each group type, and a logical sum of all bits included in the calculation result is calculated by the processing device for each group type. And
In the determination processing, the processing device calculates a logical product of logical sum operation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is In the case of 0, it is judged that the access is denied.

このような特徴により、データに対するアクセスを制御する際の処理を迅速に、効率よく行うことが可能となる。   With such a feature, it is possible to quickly and efficiently perform processing when controlling access to data.

実施の形態1に係るアクセス制御装置の構成を示すブロック図である。1 is a block diagram showing a configuration of an access control apparatus according to Embodiment 1. FIG. 実施の形態1におけるアクセス制御装置の外観の一例を示す図である。2 is a diagram illustrating an example of an appearance of an access control device according to Embodiment 1. FIG. 実施の形態1におけるアクセス制御装置のハードウェア構成の一例を示す図である。3 is a diagram illustrating an example of a hardware configuration of an access control apparatus according to Embodiment 1. FIG. 実施の形態1に係るアクセス制御装置の動作を示すフロー図である。FIG. 3 is a flowchart showing an operation of the access control apparatus according to the first embodiment. 実施の形態1に係るアクセス制御装置の動作を示すフロー図である。FIG. 3 is a flowchart showing an operation of the access control apparatus according to the first embodiment. 実施の形態1に係るアクセス制御装置の設定の一例を示す概念図である。6 is a conceptual diagram illustrating an example of settings of an access control device according to Embodiment 1. FIG. 実施の形態1に係るアクセス制御装置の動作を示すフロー図である。FIG. 3 is a flowchart showing an operation of the access control apparatus according to the first embodiment. 実施の形態1に係るアクセス制御装置の設定の一例を示す概念図である。6 is a conceptual diagram illustrating an example of settings of an access control device according to Embodiment 1. FIG. 実施の形態1に係るアクセス制御装置の動作を示すフロー図である。FIG. 3 is a flowchart showing an operation of the access control apparatus according to the first embodiment. 実施の形態1に係るアクセス制御装置の設定の一例を示す概念図である。6 is a conceptual diagram illustrating an example of settings of an access control device according to Embodiment 1. FIG. 実施の形態2に係るアクセス制御装置の動作を示すフロー図である。FIG. 10 is a flowchart showing the operation of the access control apparatus according to the second embodiment. 実施の形態2に係るアクセス制御装置の動作を示すフロー図である。FIG. 10 is a flowchart showing the operation of the access control apparatus according to the second embodiment. 実施の形態3に係るアクセス制御装置の動作を示すフロー図である。FIG. 10 is a flowchart showing the operation of the access control apparatus according to the third embodiment. 実施の形態3に係るアクセス制御装置の設定の一例を示す概念図である。FIG. 10 is a conceptual diagram illustrating an example of settings of an access control device according to a third embodiment.

符号の説明Explanation of symbols

100 アクセス制御装置、101 入力装置、102 記憶装置、103 処理装置、104 指定部、105 設定部、106 入力部、107 比較部、108 判断部、109 第1の記憶部、110 第2の記憶部、901 CRT表示装置、902 K/B、903 マウス、904 FDD、905 CDD、906 プリンタ装置、910 システムユニット、911 CPU、912 バス、913 ROM、914 RAM、915 通信ボード、920 磁気ディスク装置、921 OS、922 ウィンドウシステム、923 プログラム群、924 ファイル群、940 インターネット、941 ゲートウェイ、942 LAN。   100 access control device, 101 input device, 102 storage device, 103 processing device, 104 specification unit, 105 setting unit, 106 input unit, 107 comparison unit, 108 judgment unit, 109 first storage unit, 110 second storage unit , 901 CRT display device, 902 K / B, 903 mouse, 904 FDD, 905 CDD, 906 printer device, 910 system unit, 911 CPU, 912 bus, 913 ROM, 914 RAM, 915 communication board, 920 magnetic disk device, 921 OS, 922 window system, 923 programs, 924 files, 940 Internet, 941 gateway, 942 LAN.

Claims (27)

入力装置と記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御装置において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶部と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶部と、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力部と、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較部と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断部とを備えることを特徴とするアクセス制御装置。
In an access control device for controlling access to data by a user using a computer having an input device, a storage device, and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage unit that stores in the storage device for each group type and each user indicating
A second storage unit that stores data information indicating a group that allows access to each piece of data among a plurality of groups of the same group type in the storage device for each group type and each data;
An input unit for inputting a request for access to data by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information A comparison unit that compares the data information with the processing device for each group type;
An access control device, comprising: a determination unit that determines whether the access is permitted or not based on a comparison result for each group type by the processing device.
前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする請求項1に記載のアクセス制御装置。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure The access control apparatus according to claim 1, wherein the access control apparatus includes at least two of the three types of hierarchy types in which each group is set. 前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御装置は、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする請求項1に記載のアクセス制御装置。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control device
A designation unit for designating the authority type group to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, The access control apparatus according to claim 1, further comprising: a setting unit that writes the set user information to the storage device.
前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御装置は、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする請求項1に記載のアクセス制御装置。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control device
A designation unit for designating a group of authority types that allow access to data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. The access control apparatus according to claim 1, further comprising: a setting unit configured to write the set data information in the storage device.
前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御装置は、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする請求項1に記載のアクセス制御装置。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control device
A designation unit for designating a group of a hierarchical type to which a user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, The access control apparatus according to claim 1, further comprising: a setting unit that writes the set user information to the storage device.
前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御装置は、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定部と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定部とを備えることを特徴とする請求項1に記載のアクセス制御装置。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control device
A designation unit that designates a group of a hierarchical type that allows access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. The access control apparatus according to claim 1, further comprising: a setting unit configured to write the set data information in the storage device.
前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較部は、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断部は、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする請求項1に記載のアクセス制御装置。
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
The comparison unit performs a logical operation on the read user information and data information by the processing device for each group type,
The access control apparatus according to claim 1, wherein the determination unit determines whether the access is permitted or not based on a logical operation result for each group type by the processing apparatus.
前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較部は、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断部は、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする請求項1から6までのいずれかに記載のアクセス制御装置。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
The comparison unit calculates a logical product of the read user information and data information by the processing device for each group type, and calculates a logical sum of all bits included in the calculation result by the processing device for each group type. And
The determination unit calculates a logical product of logical OR calculation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is The access control apparatus according to claim 1, wherein if it is 0, it is determined to deny the access.
入力装置と記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御方法において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶ステップと、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶ステップと、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力ステップと、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較ステップと、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断ステップとを備えることを特徴とするアクセス制御方法。
In an access control method for controlling access to data by a user using a computer having an input device, a storage device, and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage step of storing in the storage device for each group type and each user indicating whether
A second storage step of storing, in the storage device for each group type and each data, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
An input step of inputting a data access request by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information A comparison step in which the processing device compares data information for each group type;
An access control method comprising: a determination step of determining whether the access is permitted or not based on a comparison result for each group type by the processing device.
前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする請求項9に記載のアクセス制御方法。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure The access control method according to claim 9, further comprising at least two of the three types of hierarchy types in which each group is set. 前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御方法は、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする請求項9に記載のアクセス制御方法。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control method includes:
A designation step for designating a group of authority types to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, The access control method according to claim 9, further comprising a setting step of writing the set user information to the storage device.
前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御方法は、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする請求項9に記載のアクセス制御方法。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control method includes:
A designation step of designating a group of authority types that allow access to data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. The access control method according to claim 9, further comprising: a setting step that sets the data information and writes the set data information to the storage device.
前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御方法は、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする請求項9に記載のアクセス制御方法。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control method includes:
A designation step for designating a hierarchical type group to which the user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, The access control method according to claim 9, further comprising a setting step of writing the set user information to the storage device.
前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御方法は、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定ステップと、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定ステップとを備えることを特徴とする請求項9に記載のアクセス制御方法。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control method includes:
A designation step for designating a hierarchical type group that allows access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. The access control method according to claim 9, further comprising: a setting step that sets the data information and writes the set data information to the storage device.
前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較ステップは、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断ステップは、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする請求項9に記載のアクセス制御方法。
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
The comparison step performs logical operation on the read user information and data information by the processing device for each group type,
The access control method according to claim 9, wherein the determination step determines whether the access is permitted or not based on a logical operation result for each group type by the processing device.
前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較ステップは、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断ステップは、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする請求項9から14までのいずれかに記載のアクセス制御方法。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
The comparison step calculates a logical product of the read user information and data information by the processing device for each group type, and calculates a logical sum of all bits included in the calculation result by the processing device for each group type. And
In the determination step, the processing device calculates a logical product of logical sum operation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is The access control method according to any one of claims 9 to 14, wherein, in the case of 0, it is determined to deny the access.
入力装置と記憶装置と処理装置とを有するコンピュータにより実行されてユーザによるデータへのアクセスを制御するアクセス制御プログラムにおいて、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶処理と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶処理と、
ユーザによるデータへのアクセス要求を前記入力装置により入力する入力処理と、
前記入力装置により入力されたアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較処理と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断処理とをコンピュータに実行させることを特徴とするアクセス制御プログラム。
In an access control program that is executed by a computer having an input device, a storage device, and a processing device to control access to data by a user,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage process for storing in the storage device for each group type and each user indicating
A second storage process for storing, in the storage device, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
An input process for inputting a data access request by a user through the input device;
In response to the access request input by the input device, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information Comparison processing for comparing data information for each group type by the processing device;
An access control program that causes a computer to execute determination processing for determining whether access is permitted or not based on a comparison result for each group type by the processing device.
前記グループ種別は、複数のグループの各グループが独立して設定される基本タイプとアクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプと複数のグループがツリー構造を形成するように各グループが設定される階層タイプとの3つのうち少なくとも2つを含むことを特徴とする請求項17に記載のアクセス制御プログラム。   The group type includes a basic structure in which each group of a plurality of groups is set independently and an authority type in which each group is set to have a one-to-one correspondence with a level of access authority and a plurality of groups form a tree structure The access control program according to claim 17, further comprising at least two of the three types of hierarchy types in which each group is set. 前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御プログラムは、
ユーザが属する権限タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより低いアクセス権限のレベルに対応するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする請求項17に記載のアクセス制御プログラム。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control program is
A designation process for designating the authority type group to which the user belongs by the input device;
Along with the authority type group specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups corresponding to the access authority level lower than the group as the group to which the user belongs, The access control program according to claim 17, wherein the computer executes a setting process for writing the set user information to the storage device.
前記グループ種別は、アクセス権限のレベルに一対一で対応するように各グループが設定される権限タイプを含み、
前記アクセス制御プログラムは、
データへのアクセスを許可する権限タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された権限タイプのグループとともに、当該グループより高いアクセス権限のレベルに対応するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする請求項17に記載のアクセス制御プログラム。
The group type includes an authority type in which each group is set to correspond to an access authority level on a one-to-one basis.
The access control program is
A designation process for designating a group of authority types permitted to access data by the input device;
Along with the authority type group specified by the input device, the processing apparatus displays the data information of the data so as to indicate all groups corresponding to a higher access authority level than the group as a group permitting access to the data. 18. The access control program according to claim 17, further comprising: causing the computer to execute setting processing for setting the data information and writing the set data information to the storage device.
前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御プログラムは、
ユーザが属する階層タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより上位の階層で当該グループが属するグループをすべて当該ユーザが属するグループとして示すように、当該ユーザのユーザ情報を前記処理装置により設定し、設定したユーザ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする請求項17に記載のアクセス制御プログラム。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control program is
A designation process for designating a hierarchical type group to which the user belongs by the input device;
Along with the group of the hierarchy type specified by the input device, the user information of the user is set by the processing device so as to indicate all the groups to which the group belongs in the hierarchy higher than the group as the group to which the user belongs, The access control program according to claim 17, wherein the computer executes a setting process for writing the set user information to the storage device.
前記グループ種別は、複数のグループがツリー構造を形成するように各グループが設定される階層タイプを含み、
前記アクセス制御プログラムは、
データへのアクセスを許可する階層タイプのグループを前記入力装置により指定する指定処理と、
前記入力装置により指定された階層タイプのグループとともに、当該グループより下位の階層で当該グループに属するグループをすべて当該データへのアクセスを許可するグループとして示すように、当該データのデータ情報を前記処理装置により設定し、設定したデータ情報を前記記憶装置に書き込む設定処理とをコンピュータに実行させることを特徴とする請求項17に記載のアクセス制御プログラム。
The group type includes a hierarchical type in which each group is set so that a plurality of groups form a tree structure,
The access control program is
A designation process for designating a hierarchical type group that permits access to data by the input device;
In addition to the group of the hierarchy type specified by the input device, the data information of the data is indicated in the processing device so as to indicate all groups belonging to the group in a hierarchy lower than the group as a group that permits access to the data. 18. The access control program according to claim 17, further comprising: causing the computer to execute setting processing for setting the data information and writing the set data information to the storage device.
前記ユーザ情報は、グループごとに予め定められた位置のビットの値によって当該グループにユーザが属するかどうかを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットの値によって当該グループのデータへのアクセスを許可するかどうかを示すビット列であり、
前記比較処理は、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により論理演算し、
前記判断処理は、前記処理装置によるグループ種別ごとの論理演算結果に基づいて、当該アクセスの許否を前記処理装置により判断することを特徴とする請求項17に記載のアクセス制御プログラム。
The user information is a bit string indicating whether or not a user belongs to the group by the value of a bit at a predetermined position for each group,
The data information is a bit string indicating whether or not access to the data of the group is permitted by the value of a bit at a predetermined position for each group,
In the comparison process, the read user information and data information are logically operated by the processing device for each group type,
18. The access control program according to claim 17, wherein the determination processing determines whether the access is permitted or not based on a logical operation result for each group type by the processing device.
前記ユーザ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループにユーザが属することを示し、当該ビットが0の場合は当該グループにユーザが属さないことを示すビット列であり、
前記データ情報は、グループごとに予め定められた位置のビットが1の場合は当該グループのデータへのアクセスを許可することを示し、当該ビットが0の場合は当該グループのデータへのアクセスを許可しないことを示すビット列であり、
前記比較処理は、読み込んだユーザ情報とデータ情報との論理積をグループ種別ごとに前記処理装置により演算し、当該演算結果に含まれるすべてのビットの論理和をグループ種別ごとに前記処理装置により演算し、
前記判断処理は、前記処理装置によるグループ種別ごとの論理和演算結果の論理積を前記処理装置により演算し、当該演算結果が1の場合は当該アクセスを許可することを判断し、当該演算結果が0の場合は当該アクセスを拒否することを判断することを特徴とする請求項17から22までのいずれかに記載のアクセス制御プログラム。
The user information is a bit string indicating that the user belongs to the group when the bit at a predetermined position for each group is 1, and indicates that the user does not belong to the group when the bit is 0. ,
The data information indicates that access to the data of the group is permitted when the bit at a predetermined position for each group is 1, and access to the data of the group is permitted when the bit is 0. A bit string indicating that
In the comparison process, a logical product of the read user information and data information is calculated by the processing device for each group type, and a logical sum of all bits included in the calculation result is calculated by the processing device for each group type. And
In the determination processing, the processing device calculates a logical product of logical sum operation results for each group type by the processing device, and determines that the access is permitted when the calculation result is 1, and the calculation result is The access control program according to any one of claims 17 to 22, wherein in the case of 0, it is determined to deny the access.
記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御装置において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶部と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶部と、
ユーザによるデータへのアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較部と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断部とを備えることを特徴とするアクセス制御装置。
In an access control device for controlling access to data by a user using a computer having a storage device and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage unit that stores in the storage device for each group type and each user indicating
A second storage unit that stores data information indicating a group that allows access to each piece of data among a plurality of groups of the same group type in the storage device for each group type and each data;
In response to a user access request for data, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information and data information Comparing unit for each group type by the processing device,
An access control device, comprising: a determination unit that determines whether the access is permitted or not based on a comparison result for each group type by the processing device.
記憶装置と処理装置とを有するコンピュータを用いてユーザによるデータへのアクセスを制御するアクセス制御方法において、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶ステップと、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶ステップと、
ユーザによるデータへのアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較ステップと、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断ステップとを備えることを特徴とするアクセス制御方法。
In an access control method for controlling access to data by a user using a computer having a storage device and a processing device,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage step of storing in the storage device for each group type and each user indicating whether
A second storage step of storing, in the storage device for each group type and each data, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
In response to a user access request for data, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information and data information Comparing step for each group type by the processing device,
An access control method comprising: a determination step of determining whether the access is permitted or not based on a comparison result for each group type by the processing device.
記憶装置と処理装置とを有するコンピュータにより実行されてユーザによるデータへのアクセスを制御するアクセス制御プログラムにおいて、
複数の設定基準のうち同一の設定基準に基づいて設定される複数のグループのうち、複数のユーザの各ユーザが属するグループを示すユーザ情報を、前記複数の設定基準のうちいずれの設定基準に基づいて設定されたかを示すグループ種別ごと及びユーザごとに前記記憶装置に記憶する第1の記憶処理と、
同一のグループ種別の複数のグループのうち、複数のデータの各データへのアクセスを許可するグループを示すデータ情報を、グループ種別ごと及びデータごとに前記記憶装置に記憶する第2の記憶処理と、
ユーザによるデータへのアクセス要求に応じて、当該アクセスを要求したユーザのユーザ情報と当該アクセスが要求されたデータのデータ情報とをグループ種別ごとに前記記憶装置から読み込み、読み込んだユーザ情報とデータ情報とをグループ種別ごとに前記処理装置により比較する比較処理と、
前記処理装置によるグループ種別ごとの比較結果に基づいて、当該アクセスの許否を前記処理装置により判断する判断処理とをコンピュータに実行させることを特徴とするアクセス制御プログラム。
In an access control program that is executed by a computer having a storage device and a processing device to control access to data by a user,
Among a plurality of groups set based on the same setting standard among a plurality of setting standards, user information indicating a group to which each user of a plurality of users belongs is based on any setting standard among the plurality of setting standards. A first storage process for storing in the storage device for each group type and each user indicating
A second storage process for storing, in the storage device, data information indicating a group that allows access to each data of a plurality of data among a plurality of groups of the same group type;
In response to a user access request for data, the user information of the user who requested the access and the data information of the data requested to be accessed are read from the storage device for each group type, and the read user information and data information And comparison processing for each group type by the processing device,
An access control program that causes a computer to execute determination processing for determining whether access is permitted or not based on a comparison result for each group type by the processing device.
JP2005366695A 2005-12-20 2005-12-20 Access control device, access control method and access control program Pending JP2007172154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005366695A JP2007172154A (en) 2005-12-20 2005-12-20 Access control device, access control method and access control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005366695A JP2007172154A (en) 2005-12-20 2005-12-20 Access control device, access control method and access control program

Publications (1)

Publication Number Publication Date
JP2007172154A true JP2007172154A (en) 2007-07-05

Family

ID=38298656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005366695A Pending JP2007172154A (en) 2005-12-20 2005-12-20 Access control device, access control method and access control program

Country Status (1)

Country Link
JP (1) JP2007172154A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009075798A (en) * 2007-09-20 2009-04-09 Fuji Xerox Co Ltd Content use management system
JP2012141680A (en) * 2010-12-28 2012-07-26 Yahoo Japan Corp New contribution information display device and method
WO2014188743A1 (en) * 2013-05-23 2014-11-27 三菱電機株式会社 Access control device and access control method and program
CN117113313A (en) * 2023-10-25 2023-11-24 荣耀终端有限公司 Authority management method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009075798A (en) * 2007-09-20 2009-04-09 Fuji Xerox Co Ltd Content use management system
JP2012141680A (en) * 2010-12-28 2012-07-26 Yahoo Japan Corp New contribution information display device and method
WO2014188743A1 (en) * 2013-05-23 2014-11-27 三菱電機株式会社 Access control device and access control method and program
CN105229662A (en) * 2013-05-23 2016-01-06 三菱电机株式会社 Access control apparatus and access control method and program
JP5980421B2 (en) * 2013-05-23 2016-08-31 三菱電機株式会社 Access control apparatus, access control method and program
CN117113313A (en) * 2023-10-25 2023-11-24 荣耀终端有限公司 Authority management method and device
CN117113313B (en) * 2023-10-25 2024-04-09 荣耀终端有限公司 Authority management method and device

Similar Documents

Publication Publication Date Title
US7882544B2 (en) Inherited role-based access control system, method and program product
JP2010512605A (en) Method and apparatus for separating binding information from object and enabling appropriate rights management
JP4284497B2 (en) Information sharing method, apparatus, and program
US8181243B2 (en) Computer readable medium for resolving permission for role activation operators
JP4821539B2 (en) Information processing system and information processing program
JP4462309B2 (en) Electronic information processing program and electronic information processing system
US8589306B1 (en) Open source license management
US11010456B2 (en) Information access in a graph database
JP2009507275A (en) Dual layer access control list
JP5482183B2 (en) Information processing apparatus and program
JP2007172154A (en) Access control device, access control method and access control program
JP2008140105A (en) Output management system, output control method, and output device with security management function
JP3488172B2 (en) Information providing method and system
JP2015101012A (en) Image formation device, control method thereof, and program
JP4419102B2 (en) Information management apparatus, information management system, and information management program
JP4723930B2 (en) Compound access authorization method and apparatus
JP2007072581A (en) Policy group generation device and control method
JP2000215095A (en) Device and method for data management, and computer readable recording medium where program making computer implement same method is recorded
JP4832132B2 (en) Access control device, access control simulation method, and access control simulation program
WO2021124465A1 (en) Information processing system, information processing terminal, and data access control program
JP7175360B2 (en) Business processing device, information processing method and program
JP4701693B2 (en) File classification program, file classification device
JP4770206B2 (en) File classification display device and file classification display program
JP4899718B2 (en) Document processing apparatus and document processing program
JPH0574856B2 (en)