A METHOD FOR CONTROLLING ACCESS TO A DATA BASE, A DATA BASE AND A COMPUTER NETWORK USING THE SAME

Abstract: The present invention solves the problem of access control in a large data base with a large number of users by the use of a double log-in technique. Each data base client may have a number of individual users. Each application recorded for a given client has its own unique identity. To log-in to the data base, a user enters his identity and password, or PIN (personal identity number). Only a few functions and a limited amount of data can be accessed directly on a primary log-in. However, a secondary log-in is then carried out, concealed from the user. The user only knows his identity and PIN. On requesting a particular application, an application identity is generated from the users identity and application name, for which a randomly generated PIN is generated. This identity is then given the rights to perform all necessary functions for the application in question subject to any access limitations imposed on the user with regard to the application in question.

Description: A METHOD FOR CONTROLLING ACCESS TO A DATA BASE A DATA BASE AND A COMPUTER NETWORK USING THE SAME The present invention relates to an improved log-in procedure for use with data bases having a single level of administration security, data bases for use with such a procedure and computer networks on which such databases may be operated. Administration of large data bases with large numbers of users has a number of problems associated with operation of the data base. Consider a data base which: uses a single file server as a platform; has a large number of users, of the order of 20,000, half of which are simultaneously logged on to the system; - has a single level of administration security; operates various data base procedures each of which may include some functions denied to certain users; and contains data on various subjects, having diverse security ratings, some of which may only be available to a subset of data base users . Users of such a data base will normally have a need to use several data base applications in parallel. Users may have restricted access rights as between different data base subjects, or even within a subject. For example, a given user may be allowed access to telephone number lists for the Stockholm area, but be denied access to data on financial ledgers. Certain telephone numbers may be regarded as secret and access to such numbers may be denied to all except a few users. If there is only a single level of administration available, the system administrator role is the only means by which new identities can be created. Unfortunately, this role is able to access all information on the system, erase portions of the data, or even the entire data base, or even switch off the file server on which the data base is stored. The problem of controlling access to such a data base, without imposing an excessive computational load on a file server and, thereby seriously slowing down its speed of operation, is by no means easy to solve. In order to achieve this, the access rights of each of some 20,000 users must be broken down: by class of subject matter; within subject matter classes, by secret data; and - by data base operation. During the performance of a given data base task for a given user, different access rights may come into play. If effective data base security is to be preserved, it is vital that all data base access rules be held on the file server. If such rules were held on client controlled equipment they could be subverted by a dishonest client. It has been proposed that management of client identities and access rights be controlled in front of the file server. Such front-end based systems establisn a number of parallel connections in relation to general identity. This creates overhead problems, performance problems and log-in problems for the file server. Where a data base can be accessed by a small number of users only, from ten to a few hundred, a number of small fixed groups of users may be established and identities associated with these groups. This solution is not viable where large numbers of users are involved. The present invention solves the problem of access control in a large data base with a large number of users by the use of a double log-in technique. Each data base client may have a number of individual users . Each application recorded for a given client has its own unique identity. To log-in to the data base, a user enters his identity and password, or PIN (personal identity number). Only a few functions and a limited amount of data can be accessed directly on a primary log-in. However, a secondary log-in is then carried out, concealed from the user. The user only knows his identity and PIN. On requesting a particular application, an application identity is generated from the users identity and application name, for which a randomly generated PIN is generated. This identity is then given the rights to perform all necessary functions for the application in question subject to any access limitations imposed on the user with regard to the application in question. It should be noted that with a data base, of the type to which this invention relates, which is subject to heavy user demands, it may be advantageous to inhibit command mode operation in real time. None-the-less , the present invention may still be applicable to data base systems which can be operated in command mode. - A - According to a first aspect of the present invention, there is provided a data base stored on a first file server, to which a large number of individual users have access, in which there exists a single level of administration and in which limitations on user rights are imposed with regard to both data and data base functions characterised in that said data base is accessed by a double log-in procedure in which a user enters his identity and password and, for each database application run by said user, said first file server generates an application/user identity specific to said user and said application together with an associated password, both of which are concealed from said user. Preferably a list of access rights to be associated with said application/user identity are derived by running a procedure, on said first file server, assembled on a second file server. Said application/user identity, said associated password and said list of access rights may be in cache memory on said first file server. Each user may have a defined role for each of a selected number of data base applications, which role permits said user to perform only certain functions defined for that application. According to a second aspect of the present invention there is provided a computer network having a central processing means, including a first file server on which is stored a data base, a second file server for the preparation of database applications and procedures, and a plurality of terminal equipments through which said data base can be accessed, characterised in that user rights, for said data base, are uniquely tailored to each user with regard to both data and data base functions, in that access to said data base is controlled by a double log-in procedure, and in that a first step of the double log-in procedure is effected by a user entering a user identity and password, and in that for each database application run by said user, means are provided, associated with said first file server, for generating an application/user identity specific to said user and said application together with an associated password, and in that both said application user identity and said password are concealed from said user. The computer network may include second means for generating a list of access rights to be associated with said application/user identity. Preferably said application/user identity, said associated password and said list of access rights are stored in cache memory on said first file server. The computer network may include third means for accessing said cache memory each time a logged-in user attempts a new task, and for determining whether, or not, a particular data base function, or data, can be made available to said new task. According to a third aspect of the present invention, a method of controlling access to a data base for use with a computer network having a central processing means, including a first file server on which is stored a data base, a second file server for the preparation of database applications and procedures, and a plurality of terminal equipments through which said data base can be accessed, is characterised in that user rights, for said data base, are uniquely tailored to each user with regard to both data and data base functions, and in that as a first step of logging in to said data base, a user enters a user identity and a password, and for each database application run by said user, said first file server generates an application/user identity specific to said user and said application together with an associated password, and in that both said application/user identity and password are concealed from said user. Preferably a list of access rights to be associated with said application/user identity are derived by running, on said first file server, a procedure assembled on said second file server. Embodiments of the invention will now be described, by way of example, with reference to the accompanying drawings in which: Figure 1 illustrates the relationship established between user identities, roles and applications in a data base according to the present invention. Figure 2 illustrates how a defined role determines the access rights of a given user to a given application on a database according to the present invention. Figure 3 shows a signal chart for an embodiment of the present invention operating on a SQL file server. Figure 4 illustrates, in diagrammatic form, an example of a platform on which a data base according to the present invention may be run. An example of a computer network platform on which the present invention can be realised is illustrated in Figure 4. The operation of such a platform will be immediately apparent, to those skilled in the art, from a brief examination of Figure A. However, it should be noted that a plurality of terminals using a variety of operating systems, collectively referred to as the application system TS, can be connected to a central file server, the SQL server, by means of Sybase communications software which is herein referred to as Open Client. A variety of systems, referred to as Open Servers, may be used for preparing data base procedures and applications. The Open Servers again communicate with the central server by means of Sybase communications software. The central SQL server carries all the data which comprises the data base, and operates on SQL procedure language. That portion of the computer network which includes the central SQL server and the Open Servers is collectively referred to as the information system, IS. The open servers and applications system may use a variety of operating systems and software, including UNISYS/TIP, VAX/VMS,PC, MAC, UNIX, and IBM/CICS. In the operation of a data base, different roles can be identified. In a simple database, there exists two roles, that of system administrator and that of a user who wishes to access data. However, in a very large database, of the type that may be needed to support the operations of a telecommunications network operator, there may be a need for many users to perform data base applications which involve, in addition to reading data, amending data on the data base, deleting data on the database, or creating new data. The operations of creating, reading, updating and deleting data are frequently referred to by their initial letters as CRUD. The relationship between a user, a user identity, a role and an application are illustrated in schematic form in Figures 1 and 2. Consider two individual users, of the very large number of total users of the database, perhaps as many as 10,000, called Lena Larson and Bo Svensson. Lena's system identity is "lenlar", and it is unique to her, Bo's computer identity is "bosven" and it is again unique to him. In addition, Bo has a second computer identity, "bosvem-master" , which he uses only when accessing certain secret data for which he has special authority to access. For each identity there exists a secret password known only to the user. By entering their computer names and passwords, Bo and Lena get very limited access to the SQL file server. To obtain the ability to run an application on the SQL file server, a further log-in procedure is performed automatically by the SQL file server. This will be described later. Of the many applications that can be run on the SQL file server, two are referred to, in the drawings, as application A and application B. For each of these applications a number of different roles can be defined, e.g. roles 1, 2 and 3. Performance of a given application may involve a number of separate data base procedures, accessed, for example, via a menu. Consider role 3B, that is to say role 3 performed in respect of application B. It is assumed that this application involves three operations OPa, OPb, and OPc. These three operations each use a different set of stored procedures SP1 .... SPA. Each of these procedures involves a number of basic data base functions, e.g. SP1 requires the create, read, update and delete functions, while SP3 involves only the delete function. By applying role 3 to application B which operates on data relating to telephone numbers, a series of actions and access rights are defined. For example, role 3B, which is only available to Bo when using the computer identity "bosvem-master", enables secret telephone numbers to be read, but not created, updated, or deleted. By way of contrast, role 3B enables telephone numbers for Northern Region to be created, read and updated, but not deleted. In use, users, such as Lena and Bo have to be registered on the open file server. This process can only be performed by the system administrator role. In order to register a user, the system administrator enters his/her personal information such as name, organisation, and telephone number, and creates a basic, or computer, identity for the user e.g. lenlar. In addition, the system administrator assigns each user a password, which the user will have to change to a secret password on first logging in to the system. Each computer identity is assigned a run time which indicates the time of day when that user is permitted to use the system. To set up access rights for a user, the system administrator has to associate a number of roles with each data base application that the user is allowed to access. As explained above, the roles define precisely what access rights a particularly user has when running a given data base application. A given individual may be assigned more than one computer identity each of which has different roles associated with it. This is advantageous when a single user may need to operate on data having different security classifications and assists in the construction of audit trails. Access to the data base held on the information system, see Figure A, is achieved by means of stored procedures. These procedures can create, read, update and/or delete data on the information system. In a given application, a number of operations are defined. An operation is the basic functionality seen by a user. Operations are usually selected from a menu of alternatives, or selected by operation of a specially assigned terminal key. Running a given operation either initiates a dialogue with the IS, or achieves the performance of a task in the IS. Each operation uses at least one stored procedure. These procedures are stored on the open file server. When a role is defined for an application it determines what a user who is assigned that role can do when running that application. If, for example, a user is permitted to open a dialogue with the IS, but only read the contents of stored data, this is indicated by "R" , see Figure 2. Thus, for operation OPa, a user assigned role 3B is permitted to run procedures which only entail reading data, i.e. SP2. On the other hand, the user is not permitted to run procedure SP1, because this procedure requires the ability to create, read, update and delete, and role 3B is denied the right to create, update and delete within this application. A value set is a set of criteria by which data objects are grouped. For example, all telephone subscribers in the Stockholm region represents a value set. When a role is defined, the definition includes the value sets which a user assigned that role is permitted to access, and what basic data base functions that role is permitted in respect of that value set. In real time operation, the open server must deal with many users and the information has to be protected from unauthorised access yet be available to those who are authorised to use it. The definition of different roles enables users to be given varied access rights, depending on their particular needs. Equally, it is possible to arrange for a hierarchy of system administrators, by defining different system administration roles. In this way it is possible to have a large number of system administrators with only a few having unlimited access rights to the system, the majority having limited rights. The totality of system users can be divided into client groups, each client representing a department, or external organisation. The use of varied administration roles can, with advantage, be implemented in a client- user hierarchy, by creating a system administrator for each client grouping with access rights limited to the needs of the client. Any changes needed to that clients overall access rights can then be achieved by a variation of the client-administrator's access rights, which must be made by one of the few central administrators. Subsequent changes to the individual user rights of users belonging to that client grouping can be implemented by the client-administrator. The majority of system administrators thus have limited access rights, and this can be shown by the use of menus, or screen buttons, in which certain menu selections, or buttons, are faded, corresponding to menu operations denied a particular system administrator. The principle reason for showing all menu options, whether available to a particular system administrator, or not, is that it enables a common set of instruction manuals and other literature to be prepared for the system. Such documentation must, of course describe maximum functionality. Of course, it is not only system operations that may be denied to a "junior" system administrator, but also certain value sets. In other words the information that a client based administrator may access can be limited to those value sets which the client is entitled to access. In the above description of the relationship of identities, users, roles, clients, applications, value sets and system administrators, the emphasis has been on the concepts and functionality of the system, rather than on the physical means by which that functionality is created. In general, in a system of the type described, functionality is created by means of software, i.e computer programs, data base procedures, or the like. It is, of course, possible for functionality to be created by hardware elements, or means, although except in a few cases it is not cost effective to do this. The nature of the inventions described in this specification is such that the inventive concepts reside in the methods and functionality that underlies the software. From the point of view of a practical realisation of the invention it matters little whether a "means" for performing a particular function is a logical entity, created by a computer program, or a physical entity, created by a manufacturing process. The invention(s) herein described relate to improvements in real products and have a real and significant effect on product performance. In general, the "means" described in this specification can readily be realised by a skilled computer programmer, familiar with modern programming techniques, from the functional/conceptual description herein provided. The distinct and practical real world advantages of the user-role-application concept described above, together with the concept of a hierarchy of system administrators, are that they enable massive data bases, with large numbers of interactive system users, to be managed in a manner which preserves system integrity and data security. It enables the system to operate at substantially greater speeds and with a substantially reduced processing overhead than is the case with other known systems. As explained above, an individual user is assigned access rights on the basis of the roles he is permitted to perform in different applications. It would, in theory, be possible to provide each user with a plurality of computer identities and passwords, one for each application he is entitled to use. This is, of course, impractical, especially when considered in relation to control access to different value sets. The present invention overcomes this problem by using a double log-in procedure. Consider a particular user called Anders Svensson, he has a computer identity, known to himself, called "andsve" and a secret password which only he knows "pendelOl". There is only a very limited amount of information on the file server that can be accessed, or changed, by the computer identity "andsve" using a general program such as Excel Q+E. However, the double log-in procedure give access to a much wider range of data, on an application-by-application basis. The double log-in procedure automatically generates, within the file server, a plurality of computer identities linked to "andsve", together with associated passwords, one for each application that "andsve" is permitted to access. These user/application identities are not visible to the Anders Svensson, and he is not permitted access to them. The only log-in identity and password known to Anders Svensson is "andsve" and "pendelOl". The log-in procedure can be written in procedure language as: Login(andsve,pendelOl) Ecex Fcs_get_password_for_application-identity logout(andsve) - 1 A - 1 o g i n ( a n d s v e / A P P L I C A T I O N ) , password_for_application-identity ....Normal function calls from client logout(andsve#APPLICATION) The application specific identity is composed of the identity known to the user, "andsve", and a code of eight characters for the client separated with a "if " , (other separators could of course be used). Fcn_get_password_for_application-identity creates an application specific identity with a randomly generated password. This identity is given rights to perform all necessary functions in dependence on the rights of the user in this particular application. A full signal chart for the operation of the log-in is shown in Figure 3. In the example, illustrated by Figure 3, the basic, or computer identity "andsve", password "pendlOl", and the application code CUSTOMER are used. Note that all error handling has been omitted and that only parts of the messages of the log-in and log-out sequences are indicated. Descriptions in italic mean that the system administrator role is used, otherwise "andsve" and " andsvet/CUSTOMER" are used. Brief notes on some of the signals shown in the signal chart are set out below. However, for most steps Figure 3 is self explanatory. Instructions i, i+1, see Figure 3, are executed once at the start of the open server. 3:- Application_LasApplid( ? ) initiates the creation of an application specific identity. Note that all parameters are not described in the signal chart. A:- Check that the user is defined for the indicated application, that current time is within the users allocated run time, and that there are no restrictions on the identity, or application, etc. 6, 7:- There is a general code for access control in the open server. A check is performed back into the SQL server which verifies that the user is allowed to call. In order to reduce the access time (from about 0.3 seconds to < 1ms) the information is then saved in a cache memory in the open server. This cache is cleared out only when a change in the access right is introduced. 8:- The call is made with the system administrator identity, to which the open server has access. There is no possibility of the user discovering this identity and thereby gaining a higher level access than the one for which he is authorised. 9:- The identity is created and information needed to generate views of the value sets are built together with other information in the SQL server. 11:- Again "andsve" is the identity for the signal. 12:- This is the result of the function called at step 3. The result contains the randomly generated password for andsve/ZCUSTOMER. It is constituted by 28 characters [32 ....255], which in addition have been DES encrypted with the password for "andsve" as key. The remaining steps in the signal chart, illustrated in Figure 3, show the identity "andsve" being logged-out, the identity "andsve#CUST0MER" being logged-in, the execution of the called application, "CUSTOMER", and the log-out of the identity "andsve/ZCUSTOMER" on completion of the application "CUSTOMER". It should be noted that the identity "andsve//CUSTOMER" contains information on both the user and the client group to which he belongs. This form of identity is a useful aid in the derivation of audit trails, statistics and debiting etc.. In comparison, prior art systems using front-end log-in control only permit breakdowns using a single common identity, management information can be derived on a user-by- application basis. For example it is possible to enable a user to obtain the answer time of the SQL server for the application he is running.

Claims: - 17 - CLAIMS 1. A data base stored on a first file server, to which a large number of individual users have access, in which there exists a single level of administration and in which limitations on user rights are imposed with regard to both data and data base functions characterised in that said data base is accessed by a double log-in procedure in which a user enters his identity and password and, for each database application run by said user, said first file server generates an application/user identity specific to said user and said application together with an associated password, both of which are concealed from said user. 2. A data base as claimed in claim 1 characterised in that a list of access rights to be associated with said application/user identity are derived by running a procedure, on said first file server, assembled on a second file server. 3. A data base as claimed in claim 2 characterised in that said application/user identity, said associated password and said list of access rights are stored in cache memory on said first file server. A. A data base as claimed in claim 3 characterised in that each time a logged-in user attempts a new task, the content of said cache memory is accessed to determine whether, or not, a particular data base function, or data, can be made available to said new task. 5. A data base as claimed in any of claims 2 to A characterised in that each user has a defined role for each of a selected number of data base applications, which role permits said user to perform only certain functions defined for that application. 6. A data base as claimed in any of claims 2 to 5 characterised in that a new user identity and password can be defined only at a central system administrator level for said data base. 7. A data base as claimed in claim 6 characterised in that said application/user identity is generated for each role assigned to a user and certain roles may include, in respect of certain data base applications only, access rights which are, in normal operation of the database, reserved to the system administration level. 8. A data base as claimed in any previous claim characterised in the procedure language used by said data base is SQL. 9. A data base as claimed in any previous claim characterised in that all rules and procedures relating to system access are stored on said first file server. 10. A data base as claimed in any previous claim characterised in that command operation is inhibited. 11. A data base as claimed in claim 2, or any of claims 3 to 10 when appended to claim 2, characterised in that said first and second file servers are logically distinct entities operating on the same physical equipment. 12. A data base as claimed in claim 2, or any of claims 3 to 10 when appended to claim 2, characterised in that said first and second file servers run on physically distinct equipments. 13. A computer network having a central processing means, including a first file server on which is stored a data base, a second file server for the preparation of database applications and procedures, and a plurality of terminal equipments through which said data base can be accessed, characterised in that user rights, for said data base, are uniquely tailored to each user with regard to both data and data base functions, in that access to said data base is controlled by a double log- in procedure, and in that a first step of the double log-in procedure is effected by a user entering a user identity and password, and in that for each database application run by said user, means are provided, associated with said first file server, for generating an application/user identity specific to said user and said application together with an associated password, and in that both said application user identity and said password are concealed from said user. 1A . A computer network as claimed in claim 13 characterised in that the computer network includes second means for generating a list of access rights to be associated with said application/user identity. 15. A computer network as claimed in claim 1A characterised in that said application/user identity, said associated password and said list of access rights are stored in cache memory on said first file server. 16. A computer network as claimed in claim 15 characterised in that the computer network includes third means for accessing said cache memory each time a logged-in user attempts a new task, and for determining whether, or not, a particular data base function, or data, can be made available to said new task. 17. A computer network as claimed in any of claims 1A to 16 characterised in that a new user identity and password can be defined only at a central system administrator level for said data base. 18. A computer network as claimed in claim 17 characterised in that said application/user identity is generated for each role assigned to a user and certain roles may include, in respect of certain data base applications only, access rights which are, in normal operation of the database, reserved to a system administration level. 19. A computer network as claimed in any of claims 13 to 18 characterised in that all rules and procedures relating to system access are stored on said first file server. 20. A computer network as claimed in any of claims 13 to 19 characterised in that command operation is inhibited. 21. A computer network as claimed in any of claims 13 to 20 characterised in that said first and second file servers are logically distinct entities operating on the same physical equipment. 22. A computer network as claimed in any of claims 13 to 20 characterised in that said first and second file servers run on physically distinct equipments. 23. In a computer network having a central processing means, including a first file server on which is stored a data base, a second file server for the preparation of database applications and procedures, and a plurality of terminal equipments through which said data base can be accessed, a method of controlling access to said data base characterised in that user rights, for said data base, are uniquely tailored to each user with regard to both data and data base functions, and in that as a first step of logging in to said data base, a user enters a user identity and a password, and for each database application run by said user, said first file server generates an application/user identity specific to said user and said application together with an associated password, and in that both said application/user identity and password are concealed from said user. 2A . A method as claimed in claim 23 characterised in that a list of access rights to be associated with said application/user identity are derived by running, on said first file server, a procedure assembled on said second file server. 25. A method as claimed in claim 2A characterised in that said application/user identity, said associated password and said list of access rights are stored in cache memory on said first file server. 26. A method as claimed in claim 25 characterised in that each time a logged-in user attempts a new task, the content of said cache memory is accessed to determine whether, or not, a particular data base function, or data, can be made available to said new task. 27. A method as claimed in any of claims 2A to 26 characterised in that a new user identity and password can be defined only at a central system administrator level for said data base. 28. A method as claimed in claim 27 characterised in that said application/user identity is generated for each role assigned to a user and certain roles may include, in respect of certain data base applications only, access rights which are, in normal operation of the database reserved to a system administration level. 29. A method as claimed in any of claims 23 to 18 characterised in that all rules and procedures relating to system access are stored on said first file server.

Inventors: BIGGE PETER, BIGGE, PETER
Applicants: BIGGE PETER, TELIA AB, BIGGE, PETER
Application year: 1995
Main classification: G06F1
IPC codes: G06F1, G06F21