Cryptographic authorization with prioritized authentication6711681Abstract A system and associated method for authorizing, or withholding authorization of, user access to a selected computer application or other resource, based on the user's response to one or more user authentication tests. If the user satisfies one or more authentication tests but satisfies less than all the tests, the system optionally allows the user access to a selected subset of the resource. Alternatively, the user loses access to a selected subset of the application for each test not satisfied by the user. An authentication test or its associated weight may change at a selected time, and the selected time may be determined with reference to a time at which the resource changes. Claims What is claimed is: Description FIELD OF THE INVENTION
Authentication test Relative strength
SSL v3.0 1
Kerberos 2
User/password 3
A weight w.sub.i (0.ltoreq.w.sub.i.ltoreq.1) may be assigned to each authentication test, with a higher weight being assigned to a test with higher relative strength. In one embodiment, relative priority of an authentication test is equated with the relative strength of a test. In another embodiment, relative priority is assigned to each of several tests, independently of their relative strengths, based on the circumstances in which the tests will be used in an integrated approach. The Pluggable Authentication Mechanism (PAM) is discussed in detail by Vipin Samar and Charles Lai in "Making Login Services Independent of Authentication Technologies", presented at the Third ACM Conference on Computer and Communications Security, March 1996, is useful as a guide in implementing the invention. The Samar et al. article notes that most UNIX systems presently use a login procedure based on a modified Data Encryption Standard (DES) algorithm, which assumes that the password cannot be guessed and that the password does not pass over the communications channel in cleartext. These assumptions are acceptable when communications occur only within a trusted network. However, an open network, such as an internet, requires use of more restrictive and stronger authentication mechanisms. Examples of these stronger mechanisms include Kerberos, RSA digital signature, Diffie-Hellman, S/Key and other one-time passwords, and challenge-and-response and mart card authentication systems. One goal of a PAM system is to require a possibly-different methods of authentication, depending upon the application. For example, a site may require S/Key password authorization for telnetd access but allow console login access after presentation of a UNIX password. Another goal of a PAM system is a requirement that a user pass more than one authentication test, such as Kerberos and RSA digital signature tests, to obtain access to a particular resource or application. Another goal is that system-access services should not have to change when an underlying authentication mechanism changes. Core components of a suitable authentication framework include: (1) one or more applications or resources, such as login, telnetd and ftpd, to which a user seeks access; (2) an authentication mechanism library, such as a PAM Application Programming Interface (API) or library (the front end); and (3) specific authentication modules, such as Kerberos, S/Key and UNIX user password (the back end). FIG. 1 illustrates a relationship between these three components. When a user seeks access to a particular application or resource, the application calls a PAM API, which in turn calls one or more authentication modules that are required for access to that application. The appropriate authentication module(s), as determined by the API, is/are loaded and presented to the user. If the user responds correctly to the authentication test(s) in a PAM, access is granted. If the user responds incorrectly, access is denied and, optionally, the user is given another opportunity to respond correctly to the test(s). A resource access system may be divided into four areas of management functionality: authentication, account, session and password. Authentication management authenticates the user and refreshes, upgrades or destroys the user credentials. Account management checks user account expiration and access hour restrictions, if any, and determines whether a user has access to the resource at that particular date and at that particular time. Session management is used for accounting and billing purposes and, optionally, to determine the amount of time the user has had access to the resource in the current session (useful where the user's contact time is restricted). Password management is used to change the password from time to time. The PAM implements each of these four management items as a separate, pluggable module. A particular user may not need to be interrogated or monitored by all four modules. Alternatively, the user's access request may be processed in parallel by two or more of the four modules. According to the invention, the authentication system may allocate a strength and/or a priority to each of several authentication mechanisms associated with a particular application or resource, may apply these mechanisms in a particular order, and/or may require that the user satisfy or pass at least a selected number of these tests in order to gain access to the application. Each associated authentication test may have an assigned weight value w.sub.i (0.ltoreq.w.sub.i.ltoreq.1;i=1, . . . ,I ; I.gtoreq.1), which may increase with increasing strength or priority for the associated test, and the system may assign to the user a "test score" ##EQU1## where ATS(i)=1 if the user passes authentication test number i and ATS(i)=0 otherwise. The system optionally denies user access to the application unless the user's test score is at least equal to a selected threshold test score value TS.sub.thr (i.e., TS.gtoreq.TS.sub.thr), even if the user passes at least one of the associated authentication tests. The threshold test score TS.sub.thr may vary with the particular application for which access is sought. FIGS. 2A-2B present a flow chart illustrating a procedure that incorporates this approach. In step 21, the user seeks access to a particular application or resource. In step 23, the system determines which authentication mechanisms (i=1, . . . , I) are associated with access to the chosen application. In step 25, the system determines the test score threshold associated with the chosen resource. In step 27, the system is initialized, with i=1 and TS(0)=0. In step 29, the system presents the user with authentication mechanism number i, and the user responds to this test number i in step 31. In step 33, the system determines whether the user has passed authentication test number i. If the answer to the query in step 33 is "yes, " the system sets ATS(i)=1, in step 35, and passes to step 39 (FIG. 2B). If the answer to the query in step 33 is "no,", the system sets ATS(i)=0, in step 37, and passes to step 39. In step 39 (FIG. 2B), the system multiplies ATS(i) by a weight w.sub.i assigned to the test number i, adds the quantity w.sub.i ATS(i) to the old sum TS(i-1) to form a new sum TS(i), and increments the index i (i.fwdarw.i+1), in step 40. In step 41, the system determines whether i satisfies the condition i.gtoreq.I+1. If the answer to the query in step 41 is "no, " the system returns to step 29 and repeats steps 29, 31, 33, 39, 40 and 41 at least once. If the answer to the query in step 41 is "yes, " the system moves to step 43 and compares the sum TS(I) with the associated threshold test score TS.sub.thr. If TS(I).gtoreq.TS.sub.thr, user access to the application is granted, in step 45. If TS(I)<TS.sub.thr, user access to a default subset of the application is granted, in step 47, where the default subset may be the empty set. Alternatively, the system may set a strictly monotonic sequence of test score threshold values, TS.sub.thr,1, TS.sub.thr,2, . . . , TS.sub.thr,N with TS.sub.thr,1 <TS.sub.thr,2 <. . . <TS.sub.thr,N and N.gtoreq.1, and may allow the user access to a selected subset of the full resource, depending upon which threshold values the user's test score equals or exceeds. As the user's test score TS(I) increases, the user is granted access to more and more subsets of the target application. FIGS. 3A-3B-3C illustrate the procedure according to this alternative embodiment. Steps 21-41 in FIGS. 3A-3B-3C are performed as in FIGS. 2A-2B to compute the sum TS(I). In step 51 (FIG. 3B), the system provides a monotonic sequence of N threshold values (N.gtoreq.2), TS.sub.thr,1 <TS.sub.thr,2 <. . . <TS.sub.thr,N, that will be used to determine what access, if any, the user may be granted within the application or resource. In step 53, the system is initialized by setting a counting index n=1. In step 55, the system determines whether the sum TS(I) satisfies the condition TS(I).gtoreq.TS.sub.thr,N. If the answer to the question in step 55 is "no", the system determines whether n=1, in step 57 (FIG. 3C). If the answer to the question in step 57 is "yes", the system grants the user access to a first default subset S.sub.0 of the application, in step 59. This first default subset can be the empty subset, which effectively denies the user access to any part of the application. If the answer to the question in step 57 is "no", corresponding to n>1, the system grants the user access to a selected subset S.sub.n-1 of the application. If the answer to the question in step 55 is "yes", the system increments the count index n (n.fwdarw.n+1), in step 63, and determines whether n satisfies the condition n.gtoreq.N+1, in step 65. If the answer to the question in step 65 is "no", the system returns to and repeats step 55 at least once. If the answer to the question in step 65 is "yes", the system grants the user access to another default subset S.sub.N, which is optionally the entire application, in step 67. The preceding embodiments may be characterized as "bottom up" approaches, in which the system allows user access to a default subset of the application or resource, which may be the empty set, initially. The system also allows access by the user to more and more of the application or resource as the user satisfies or passes more and more of the authentication tests. In an alternative "top down " approach, illustrated in a flow chart in FIGS. 4A-4B, the user begins with potential access to the entire resource or application and loses access to particular subsets of the resource as the user fails to satisfy or pass one or more of the authentication tests. In step 71, the user seeks access to a resource, or to a subset thereof. In step 73, the system provides I authentication mechanisms, numbered i=1, 2, . . . , I (I.gtoreq.1) associated with that application. In step 75, the system is initialized at i=1. In step 77, the user is presented with authentication test number i, and the user responds to test number i in step 79. In step 81, the system determines whether the user has passed test number i. If the answer to the query in step 81 is "yes", the system grants the user access to a selected resource subset S.sub.i, in step 85 (FIG. 4B). The system then moves to step 87 and increments the count index i (i.fwdarw.i+1). In step 89, the system determines whether the count index i satisfies the condition i.gtoreq.I+1. If the answer to the query in step 89 is "yes", the system moves to step 91 and grants the user access to the full resource set, or a modified or default version thereof. If the answer to the query in step 89 is "no", the system returns and repeats steps 77, 79 and 81 at least once. If the answer to the query in step 81 is "no", the system grants the user access to a selected default subset S.sub.i,def of the resource subset S.sub.i, in step 83, and optionally continues with step 87, where the count index i is incremented and tested against I+1 (Step 89);. The default subset S.sub.i,def is optionally the empty set. At the end of the procedure(s) shown in FIGS. 4A-4B, if the user has failed to satisfy or pass the authentication tests number i=i1, i2, . . . , iM, among the total number I of authentication tests (0.ltoreq.M.ltoreq.I; I .gtoreq.1), the system allows the user access to one or more of certain default subsets, S.sub.i1,def, S.sub.i2,def, . . . , S.sub.iM,def, so that the user now has access the union of these default subsets of the original "whole " resource or application set S. Each time the user satisfies or passes an authentication test, the subset of the resource to which the user has access is unchanged (no loss at this stage). Where multiple users are present, first and second users who seek access to different portions of a resource are optionally presented with different sequences of authentication tests to determine the portion of the resource to which each user will be granted access. For example, the first user may be presented with authentication tests number one, two and four for access to a first selected portion of the resource; and the second user may be presented with authentication tests number two, three, four and five for access to a second selected portion of the resource. Alternatively, where the first and second users pass the same authentication test (e.g., test number two), the portion of the resource to which each is granted access may be different for each user. For example, the first and second users may be granted access to different portions of a given confidential document affecting national security, because these two users have different "needs to know." The resource or application to which a user seeks access may change from time to time. For example, a resource may include a collection of documents of various levels of classification (e.g., company private and confidential, secret and top secret at the federal level), and the level of authentication required for access may be set by the document(s) with the highest level of confidentiality. The federal government downgrades the classification of selected documents from time to time, and the authentication level required may be correspondingly reduced as a result of this downgrade, or as a result of removal of one or more documents from the resource. Conversely, one or more additional documents with a higher classification level may be added to the resource, and this upgrade in classification may require an increase in authentication level for access to the resource. In another alternative embodiment, one or more authentication levels or tests associated with a given resource optionally changes at a given time, possibly as a result of change of characterization of the resource, or of one of more documents or other objects that are part of or associated with the resource. This change would be implemented at a time that is approximately contemporaneous with the change in characterization and would be subject to subsequent changes in characterization. The preceding embodiments may be implemented by presenting the user with a sequence of one or more authentication tests and requiring the user to affirmatively "pass " one or more of these tests, in order to obtain access to part or all of the resource. Alternatively, the user may be issued a smartcard containing cleartext and/or (preferably) encrypted responses or "keys " to I authentication tests (I.gtoreq.2), where each response may, but need not, correspond to passage of an authentication test. In this approach, the user presents his/her smartcard to the system, the system reads the card and determines which, if any, of the entries on the smartcard correspond to passage of an authentication test, and which test. The smartcard is read by a computer, which tracks which authentication tests the smartcard has "passed " and thereby determines a corresponding subset of the resource (which may the whole resource, a proper subset of the whole resource, or the empty set) to which the user has access, based on the user's smartcard score. Preferably, the smartcard requires specification of a card owner's PIN, which must correspond to the smartcard presented, in order to read the smartcard and determine its score on one or more authentication tests. This approach requires possession of both the smartcard and special knowledge (the PIN) before access to (portions of) a resource is granted. The Pluggable Authentication Mechanism (PAM), which provides integration of one or more authentication tests, is compatible with the invention. The PAM need not be altered, only enhanced, in order to implement the invention.
|
Same subclass Same class Consider this |
||||||||||
