Apparatus and method for releasing protected processes in a distributed multiprocess data system

Abstract: In a distributed data system in which processes running in trusted systems whose results may be proprietary or sensitive in nature may be invoked by operators at remote, untrusted workstations, and in which said processes are provided with locks which do not permit proprietary or sensitive actions unless a request includes a key matching the lock, a method of associating keys with operators is based on each operator's presenting his ID and a valid password at the workstation at the time he logs on to the system, verifying his password in a trusted system, correlating his ID with a role or group of roles he is authorized to fulfill, and retrieving and storing in the memory of the trusted system, associated with the operator's ID, a list of keys (a "keyring") for each of those roles. The operator's ID is appended to every request he invokes, a process containing a lock interrogates the stored list and will not grant a proprietary action unless the stored list contains a key matching the lock.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The invention pertains to an apparatus and a method for releasing protected processes in a distributed multiprocess data system according to the preamble of the independent claims. Security keys in complex network systems when the potential number of combinations of security keys may be unmanageably large are handled by applying a keyring metaphore for the said users' security keys. 2. Description of the Prior Art A method for maintaining data processing system securing is disclosed in US Patent 4,845,715. Program integrity and security is maintained through generation of a stored first selective electronic identification indicia that is uniquely characteristic for each protected process in association with a stored plurality of selective second electronic indicia that individually identify authorized users of such process. A third electronic identifying indicia is provided in response to a request by a prospective user for access to said process. Such requested process is released only when the first and third electronic identifying indicia are identical and when the requesting user's identification indicia correspond with one of said second stored electronic indicia. In this invention, a large number of point-of-sale (POS) terminals are distributed over a large geographical area, perhaps on the order of an entire continent. A communications network is provided which transports data over the entire geographical area, and all the POS terminals are connected to it, through telephone lines and intelligent line concentrators (called network access controllers, or "NACs"). Also connected to the communications network are computers operated by financial institutions. The POS terminals are typically placed into service by merchants, who then accept transactions from consumers who carry plastic credit cards or debit cards which bear in machine-readable form an identification of a financial institution which maintains an account for the consumer, and an identification of that account. The primary function of the system is to forward from the POS terminals to the financial institution computers information identifying a consumer's account and a transaction the consumer wishes to make in that account, and to return from the financial institution to the POS terminal either an acceptance or rejection of that transaction. A merchant wishing to place a POS terminal into service typically obtains the necessary equipment (the terminals and associated modems, etc.) from a "service provider" organization. Such an organization might have no role in the EFTPOS system beyond that of providing equipment, or larger merchants and financial institutions might function as service providers; in that case the latter role is kept separated from the former. In addition to line concentrators for POS terminals and computers of financial institutions being connected to the communications network as described above, two other classes of equipment are connected to it which exist ancillarily to the system's aforementioned primary function: network management systems (NMSs), and management workstations (WSs). (WSs are not specifically discussed in the McNally patent, but are at the heart of SAFs 12 and are attached to NMSs 14 to provide an interface between operators and NMSs.) NMSs are responsible for overall control and monitoring of the EFTPOS system; WSs are used by the network provider organization and service provider organizations to control and monitor particular equipment and communication paths for which they are responsible. As described in the McNally patent, the NACs can be dynamically reconfigured and can report their present status; operators and administrators at the WSs may enter commands to reconfigure the systems or commands requesting information on the current status of the systems. Commands originating at a WS are passed to an NMS for verification that the action or information requested is within the purview of the requesting organization, and are acted upon by the NMS following that verification. The WSs and NMSs have software running in them to effect the entry of such commands and the responses to them. Each particular type of command typically invokes a particular path through the software, causing the execution of executable paths that are provided to perform particular functions required for a particular command. A software entity dedicated to a discrete function is known in the software arts as a "process". WSs and NMSs are distributed throughout the geographical area served by the system. The NMS in a particular region of the geographical area generally exercises direct control and monitoring of the POS terminals and NACs in that particular region. A request pertaining to such a terminal or NAC and originating from a process in a WS or NMS in a different region must be forwarded over the communications network to a process in the NMS having cognizance of the target NAC, and a response must be forwarded back to the requesting process. Software running in the NACs controls the operation of the NACs and, in turn, their control over the terminals and phone lines coming in to the NACs. Communication network 8 may be used for the distribution of new or replacement software from NMSs to the NACs. Operators at NMSs and WSs potentially have the ability to alter system operational parameters, and to interrogate operational parameters and historical information. In a system whose purpose is to handle a large number of financial transactions, compositely involving enormous amounts of money, these capabilities provide an exposure to potential security problems based on bogus or fraudulent system manipulation. A second area of security exposure inheres in that operators may represent many different, and often competing, business organizations (the national telephone company and local telephone companies, various financial institutions, various service provider organizations, etc.). It can not safely be assumed that there would be no attempts by an operator to access the proprietary information of another organization, or even to sabotage the operations of another organization. A solution to this problem, well known in the prior art, is to incorporate "locks" in processes that access sensitive or proprietary information, and to require a would-be accesser to present the correct "key" before granting him access. In typical software implementations, this is accomplished by requiring a process initiated at the behest of a would be accesser to present a number or word which must match a number or word known to the process which is being requested to provide access. Ancillarily, presentations of invalid keys may initiate procedures designed to detect attempts at penetration. An operator upon logging on to an NMS (through a WS colocated with the NMS, or remotely located at an SAF) has presumably passed physical security checks to gain access to those facilities, and is typically further required to know certain passwords controlled by the entities which manage the NMSs and WSs in order to log on. The purpose of the logon checks is to establish the user's identity with a high level of confidence. The user then enjoys a level of access and privilege defined by the keys he has been granted. The EFTPOS system in which the present invention is embodied is of such complexity that approximately 300 locks are required throughout the system to provide a reasonable assurance of security. The number of key combinations is astronomically high, and would be extremely difficult or perhaps impossible to work with in practice. OBJECT OF THE INVENTION In an effort to generally improve the security of distributed data systems, it is a particular object of the present invention to improve the manageability of security key distribution in a complex distributed data system in which the potential number of keys is unmanageably large. SUMMARY OF THE INVENTION The above and other objects are solved in an advantageous manner basically by applying the features laid down in the characterizing portions of the independent claims 1 (apparatus) and 3 (method). Further enhancements, features and aspects of the invention are defined in the associated dependent claims. The difficulties outlined above are overcome by the present invention in mechanizing a "keyring" metaphore in which a manageable number of possible functions each potential user may be authorized to perform in said system (operator roles) are identified; a determination is made regarding which keys are required for each such role; and a keyring containing those keys is defined for each role a user or operator is permitted to assume when he presents his credentials (ID, password) for logging on to the system. The keyrings for each user or operator are retrieved from a backing store when he logs on, and are retained in an active memory, indexed by the users' ID. Upon requesting access to a protected process the keyrings stored in the active memory are reviewed to determine the requisite key which matches with the lock of the accessed protected process. Only in case of a match between said lock and anyone of said user-ID related keys, said protected process is released. DESCRIPTION OF THE DRAWINGS The apparatus and method of the invention may be best understood by reference to the following description taken in conjunction with the accompanying drawings of which: Figure 1 provides an overview of the distributed data system in which the present invention is embodied. Figure 2 provides further detail of the portion of the system involving the present invention. Figure 3 shows detail of a file on storage medium containing lists of keys indexed by operator role. Figure 4 shows detail of a memory-resident list containing keys authorized to each presently logged-on operator. Figure 5 is a flow chart of the invention. DESCRIPTION OF THE PREFERRED EMBODIMENT Figure 1, reproduced here from the McNally patent, provides an overview of the system in which the present invention is embodied, showing NACs 3, terminals 4, communications network 8, financial institutions 10, SAFs 12, NMSs 14, and communication lines 16. As noted above, workstations (WSs) are at the heart of SAF's 12; also, WSs are attached to NMSs 14. Figure 2 shows further detail of those portions of the system involved with the present invention. Introduced in figure 2 is workstation (WS) 22; WSs are at the heart of SAFs 12. WS 22 is shown as being connected to NMS 14 by communication link 20; this link is conceptual, and may be mechanized through a communications line 16 and communications network 8 (shown in Figure 1) if WS 22 is remote from NMS 14, or through a LAN if WS 22 is colocated with NMS 14, or through telephone lines in any case. The present embodiment includes several NMSs 14 and a large number of WSs 22; one of each is sufficient to expostulate the present invention. Every NMS and WS includes an instance of the distributed inter-process message service (IPMS) 24, which passes messages between processes resident in different physical equipments. The operation of IPMS 24 is transparent for purposes of understanding the present invention. Physical access to a WS 22 is under the control of the organization placing it into service, which may be such as a service provider, a local telephone company, the network provider, etc. Such organization designates personnel who will be authorized to be operators of the WSs, decides how much authority each operator shall have, and assigns account numbers, user ID's, and passwords for the identification of such operators. This information is entered by administrators of the network provider and stored on NMS 14, correlated by user ID. Preparatory to making the determination of how much authority each operator shall have, a discrete number of operator "roles" are identified. It is then determined what processes and classes of data each operator role requires to access, and the keys that will be required to access those processes and data classes are stored in lists, a list associated with each role. By way of metaphor, each such list is known as a "keyring". Since there can be hundreds of different keys across the system, this approach of assigning lists of keys by role is far more manageable than assigning custom lists of keys for each individual operator. When a person is designated an operator by his organization, a role or list of roles he shall be authorized to fill is provided. When an operator logs on, which he does by typing commands on a keyboard (not shown, associated with WS 22), he is prompted to enter his user ID, account number, and password, which are forwarded to NMS 14. There, a security services (SS) process 32 is invoked, which compares the presented log-on information with the stored version; if comparison succeeds, record is made in the NMS (and distributed to all other NMSs, not shown in Figure 2) that the user is validly logged on. It is noteworthy that this comparison is performed at an NMS, "a trusted machine", as opposed to the WS which may be located at an isolated or remote location and thus may be susceptible to tampering. There remains the possibility that someone has misappropriated the operator's logon information and is fraudulently logging on in his stead; this must remain the responsibility of physical security procedures at the WS location. The SS process 32 retrieves the role or list of roles the operator may fulfill, and access storage medium 34, whence it retrieves the keyrings (lists of keys) associated with those roles and stores them in memory within the NMS for subsequent use by processes therein. They are retrieved from a file 36 on storage medium 34, to be described in further detail below in conjunction with Figure 3. They are stored in memory in a list known as KEYLIST 38, associated with the operator's user ID, and they remain there until the operator logs off; there is thus an entry in KEYLIST 38 for each operator presently logged on, associated with his user ID, and containing the keys to which that operator has been granted access. The makeup of KEYLIST 38 will be described in further detail below in conjunction with Figure 4. Other NMSs are informed that the user has signed on, and build his keylist independently. An operator may then enter a request or command which may result in one of processes 22a running in his WS to post a message (which will be transported transparently by IPMSs 24 to a process in an NMS, requesting from the latter process either information or an action that may affect system operation. (For example, it might be a request to remove from service a phone line connecting a POS terminal to a NAC.) Process 40 in Figure 2 is presented as representative of such a process. When the message from process 22a in the WS is passed by IPMS to process 40 in the NMS, the instance of IPMS in the NMS appends to the message a string comprising the operator's user ID, account number, and corporate affiliation. The process 40 contains within its code "locks" on actions that are deemed sensitive, such as retrieving proprietary information or altering system configuration. In the present embodiment, each such lock consists of a string consisting of four ASCII characters: a requester must possess a key consisting of the same string in order to get past the lock. In the present invention, process 40 performs a lookup in KEYLIST 38 of the keyring(s) provided for the operator. (It will be recalled that the operator's user ID was appended by IPMS to the incoming request, and that entries in KEYLIST are indexed according to user ID.) If they keyring(s) thus retrieved contain a key matching the current lock, the action will be permitted to proceed; if not, it will be denied. Figure 3 shows further detail of file 36, which contains the keyrings for each operator role. It includes an index portion 36a which contains designations of the various possible roles operators may fulfill. By means well known in the software arts, associated with each role is a "pointer" 36b which contains information determinative of the initial position of a list of keys authorized to an operator who is designated to fulfill that role. In the process of logging on an operator, the list of roles he is designated to fulfill (this list is not shown) is accessed by SS 32, which accesses list portion 36c as thus indexed through index portion 36a to retrieve the keyring(s) (i.e., list(s) of keys) authorized to the role(s) designated to the operator. SS 32 records the keys thus retrieved in KEYLIST 38 in the memory of NMS 14. KEYLIST 38 is depicted in Figure 4. SS 32 records an index portion 38a which contains the user IDs of the presently logged-on operators. The user IDs may take a number of forms; in the present embodiment, they are seen to be direct derivatives of the operators' names. Associated with each user ID is a pointer 38b which indicates the memory location of the start of a list of keys authorized to that operator by the keyring retrieval described above. The keys depicted in Figures 3 and 4 are arbitrarily chosen for illustration. It is seen in Figure 3 that roles 1 and 2 both contain the key GQLT. This would indicate an overlap of function between roles. It is assumed that operator J_SMITH is authorized to function in roles 1 and 2; it is thus seen in Figure 4 that his list of keys within 38c contains two occurrences of key GQLT; this will not grant him any more powers than would a single occurrence of the key. When process 40 is acting on a request from an operator and encounters a lock in its code, it will interrogate KEYLIST 38 as indexed by the operator's name (which, as described above, has been appended to the command which process 40 is working on), and consult the list of keys authorized to the operator; if a key matching the lock is found, process 40 will continue to process the command; if none is found, processing of the command is aborted. Within the code of process 40 there may be further checks based on the operator's corporate affiliation or account number. For example, if an operator is employed by service provider A, and has been assigned a key which empowers him to take telephone lines (1 through 144 on Figure 1) out of service, there is an implication that he may only take such action on lines in the purview of service provider A and not of any other service provider. Under the scheme of the present invention, which keeps all the keys granted to all presently logged-on operators in memory where they may be rapidly retrieved, locks can be more numerous and can be applied to smaller blocks of code than was possible under prior-art methods, which would require I/O access for key retrieval. Figure 5 provides a high-level flow chart of the invention. Block 51 connotes the initiation by an operator of a logon request. The request is passed to IPMS 24 (in an NMS 14) in which block 52, detecting that the present request is a logon request, calls the Security Services (SS) process 32. Within SS 32, block 53 checks the UserID and password (included with the logon request) for validity by comparing with a prestored password (not shown) associated with that User ID. In the event of successful password comparison, block 55 is reached which retrieves from keyring file 36 (discussed above in connection with Figure 3) the list of roles that have been authorized to each operator, indexed by UserID. For each such role, block 56 retrieves from keyring file 36 the "keyring" or list of keys associated with that role, and stores them keyed by UserID in keylist 38 (discussed above in connection with Figure 4). The logon process is then complete. Block 61 connotes a request from an operator for some particular processing to be performed on the system. The request reaches block 62 in IPMS 24, and calls the requested process, represented in Figure 2 and in Figure 5 by "Generic Process" 40; all represented processes contain equivalents of blocks 63, 64, and 65. Block 63 checks whether the process is "locked". If it is, block 64 accesses keylist 38, indexed by the present requester's UserID (which accompanies the request message) to retrieve the list of keys the present requester is authorized to use. Block 65 checks whether any of the keys (4-character strings, as discussed above) thus retrieved matches the key required by the present lock; if yes, the requested processing is performed; if no, the processing is denied.

Claims: Apparatus for releasing protected processes in a distributed multiprocess data system wherein protection mechanism codes "locks" are associated with utilization permission codes "keys" when use of said protected processes is required by a user, with an active store (38) in said system which holds a user-related list of keys (38c) authorized to each user, said keylists (38) being indexed by unique identifiers (38a) associated with said users; whereby when one of said users makes a request for use of one of said protected processes (40) the identifier (38a) of said user is appended to said request which is forwarded, with accompanying identifier, to said protected process (40); in response to the receipt of said accompanying identifier the respective user-related keylist (38) is reviewed for a key/lock comparison; a comparison of the individual keys (38c) of said respective user-related keylist (38) with the lock of said protected process (40) is made to determine whether any key (38c) of said respective user-related keylist (38) matches with said lock of said protected process (40); and in case of a match said protected process is released, whereas in case of no match said protected process is not placed into execution; characterized in that a backing store (36) within the system memory (34) holds a plurality of different keyrings which are lists of keys, each list being associated with a role, i.e. with a representation of a possible function (36a) each potential user may be authorized to perform in said system; an additional storage holds a plurality of role lists which are indexed in said additional storage by the identifiers (38a) of the respective potential users in correlation to the different predefined roles; and retrieval means are provided to retrieve those keyrings from the backing store (36) which correlate to the valid roles (36a) which the loged-on user is authorized to perform in said system so that when a user logs on, the possible roles for that user are retrieved from said additional storage and for each such roles keys are retrieved from said backing store (36) and temporarily stored in said active store (38) thereby permitting the key/lock comparison. Apparatus according to claim 1, wherein the said unique identifiers (38a) represent authorized roles only. Method for releasing protected processes in a distributed multiprocess data system wherein protection mechanism codes "locks" are associated with utilization permission codes "keys" when use of said protected processes is required by an operator, the method steps comprising: preparatory to implementing the system, a list of keys (38c) is stored in the form of correlation tables to establish a correlation between said protected processes and the users of the system, said keylists being indexed by unique identifiers of said users; when a user logs on to the system his credentials ID, password, are appended to said request for use of one of said protected processes (40); said request for use is forwarded, with accompanying identifying data, to said protected process (40); in response to the receipt of said request, reviewing the respective keylists (38) for comparison of the individual keys (38c) with the lock of said protected process (40); and in case of a match releasing said protected process (40) for use by the said user or, in case of no match, not releasing said protected process for execution; said method being characterized by the following additional steps: preparatory to implementing the system, establishing lists of roles, i.e. of possible operational functions (36a) each potential user may be authorized to perform in said system, correlating each role with a keyring which is a list of keys and storing said lists in the form of keyrings files (36) in a memory (34); establishing lists for each one of said users to correlate the personal identifiers (38a) to the said predefined roles (36a) and indexing said lists such that it can be determined for each user what kind of roles he is authorized to perform in said system; when the user presents his credentials ID, password, for logging on to the system, it is determined first, whether the credentials presented are valid for accessing the system, and second, which roles the said user is permitted to assume; and for the so determined roles the associated keyrings (36c) are retrieved from memory (34) and temporarily stored in an active store (38) to provide said list of keys used for finding the key for the current lock in order to release the said protected process. Method according to claim 3, wherein the said unique identifiers (38a) represent authorized roles only.

Inventors: HOWARTH DAVID I, HOWARTH, DAVID I.
Applicants: BULL HN INFORMATION SYST, BULL HN INFORMATION SYSTEMS INC.
Application year: 1992
Main classification: G06F1
IPC codes: G06F1, G06Q40, G07F7, G06F21