Information
-
Patent Application
-
20030200202
-
Publication Number
20030200202
-
Date Filed
April 23, 200222 years ago
-
Date Published
October 23, 200321 years ago
-
Inventors
-
Original Assignees
-
CPC
-
US Classifications
-
International Classifications
Abstract
A method is provided for accessing information in a content management system including a library server for generating non-transferable access tokens and an object server for storing objects to which access may be requested by a client user. Enhanced security is achieved by generating non-transferable access tokens which can be used by a particular client user to access a particular data object in the object server. However, should the token be transferred to a user other then the client user for which the token was generated, the system will not permit access to the object.
Description
FIELD OF THE INVENTION
[0001] The disclosures herein relate generally to databases and more particularly to methods and apparatus for controlling access to content management systems.
BACKGROUND
[0002] Conventional content management systems, such as that shown in FIG. 1, typically include a Library Server (LS), one or more Resource Managers (RMs) and a client access application program interface (API). A client is coupled by a network to the API and seeks information stored in the Resource Manager. The Library Server stores metadata relating to all objects or data stored in the Resource Manager. The Library Server also controls the particular objects that a particular client user can access. The Library Server governs the level of access permitted a particular user, for example, 1) read access, 2) write access, 3) play, 4) update, 5) delete and so forth.
[0003] Users can submit requests through the API to search or retrieve metadata stored in the Library Server or objects stored in the Resource Manager. In one conventional access management method, the client user must obtain permission in the form of an access token from the Library Server prior to accessing a specific object stored in the Resource Manager. In this method the client user first sends a request to the Library Server asking to access one or more particular objects. The Library Server tests to determine if the client user has the privilege to access the particular object. If the client user is found to have the appropriate privilege, the Library Server generates a unique object ID (object identification) and an associated access token for each requested object. The object ID's and respective tokens are transmitted back to the client user. The client user then uses the object ID and respective access token to access objects stored in the Resource Manager. When the Resource Manager receives a request for an object from the client user, it validates the access token against the requested object. If the token is valid, the Resource Manager grants the request for access to the object and the object is transmitted to the client user. If the token is not found to be valid, the Resource Manager rejects the request for access.
[0004] Conventional token-based access control mechanisms such as that described above allow access tokens to be freely passed from one user to another. Such tokens are typically referred to as “transferable tokens”. Transferable tokens permit users who have obtained an access token from the Library Server to pass it along to other users. The Resource Manager does not check to determine if the user possessing the access token is the same user who originally obtained the access token from the Library Server.
[0005] This conventional token-based access control mechanism provides a good solution for managing access to objects stored in Resource Managers. Unfortunately, however, if the token falls into the wrong hands, an unintended party may access the information corresponding to the token.
[0006] What is needed is a mechanism and methodology to provide higher security to token-based access content management systems by denying access should the token fall into the wrong hands.
SUMMARY
[0007] Accordingly, in one embodiment a method of accessing information in a content management system is provided. The method includes receiving, by the system, a request from a client user for an object stored in the system. The method also includes generating, by the system, a unique object identifier associated with the requested object. The method further includes generating, by the system, a non-transferable access token coded with information unique to the client user such that when submitted to the system by a user other than the client user, the system denies access to the requested object.
[0008] A principal advantage of the embodiment disclosed herein is enhanced security with respect to access to objects stored in a content management system. Access tokens are prevented from being employed by users other than the original client user when such restricted access is desired.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
FIG. 1 is a high level block diagram of a conventional content management system showing both server and client.
[0010]
FIG. 2 is a block diagram of the disclosed content management system.
[0011]
FIG. 3 is a representation of an access token employed in one embodiment of the disclosed content management system.
[0012]
FIG. 4 is a flow chart depicting process flow in the disclosed content management system.
DETAILED DESCRIPTION
[0013] A secure access token generation mechanism is needed to provide object access control and protection. One possible solution is to generate an access token by encrypting the unique object ID or any unique object ID with the public key of the resource manager for which it was intended. Unfortunately, this approach has the disadvantage that it would allow any user who knows the format of a decrypted token (e.g. the unique object ID) and who has access to the public key of the resource manager to create their own access tokens. This problem could be solved by keeping the “public” key of the resource manager secret; however, this would defeat the purpose of the public/private key system.
[0014]
FIG. 2 is a block diagram of the disclosed content management system 100 which solves the above discussed security problems. Content management system 100 includes a library server 105 which is coupled to one or more resource manager servers (object servers) such as server 110. Library server 105 stores metadata concerning the data or objects stored in resource manager 110. Resource manager 110 is a repository of data or objects which a user at client computer (client) 120 can request. Client 120 is coupled via an application program interface (API) 125 to both library server 105 from which it receives access tokens and to resource manager 110 to which it sends information requests and associated access tokens.
[0015] To access information, a user at client 120 invokes a client API (for example, GetItem, UpdateItem, etc.) which is sent to library server 105 via API 125. This is a request for access to specific information or objects stored in resource manager 110. If the user has the privilege to access the requested object(s), library server 105 generates a unique object identifier 200, such as a Universal Resource Locator (URL), and an associated access 205 token is depicted in FIG. 3. Unique object identifier 200 contains address information relating to the location of the requested information in resource manager 110 so that the information can be later located on request by client 120. Unique object identifier 200 and respective access token 205 are both transmitted back to client 120.
[0016] Library server 105 is capable of generating two kinds of access tokens, namely transferable tokens and non-transferable tokens. If a third party acquires a transferable access token and the respective unique object identifier, then that person is able to request and obtain the information associated with that unique object identifier in resource manager 110. However, if a third party somehow acquires a non-transferable access token and the respective unique object identifier, that person is unable to obtain the corresponding data or object in resource manager 110. Security is thus substantially enhanced.
[0017]
FIG. 3 depicts an access token which can be either transferable or non-transferable depending on its configuration. If the token is transferable then NT flag 210 is not set and a unique user identifier (UUI) 215 is not required. However if the token is to be non-transferable, then NT flag 210 is set and unique user identifier 215 is included in the token. More particularly, if the token is to be non-transferable the user is prompted to input the user's name and a password. In one approach, library server 105 can prompt the user to input the user's name (username) and password. Alternatively, the username/password pair can be obtained from a connection handle which captures connection information between client 120 and library server 105. In other words, if client 120 needs to log into library server 105 using a username/password pair, then the same username/password pair can be encrypted and used in the access token. In both cases library server 105 encrypts the user's name and password and places them in the unique user identifier 215 in the non-transferable token along with permission information. The access token is then returned to client 120 along with the unique object identifier (or UOI) 200 corresponding to the object stored in resource manager 110. A universal resource locator (URL) may be employed as UOI 200.
[0018] When the user desires to access an object stored in resource manager 110, the user sends the token 205 along with the associated unique object identifier 200 to resource manager 110. When resource manager 110 receives a request with a non-transferable token, it prompts the user to provide the username and password using a secure (private) connection. The user then provides the username and password to client 120 which passes it to resource manager 110. Resource manager 110 then decrypts the access token and compares the username/password contained therein with the username/password supplied directly by the current user. If the access token is valid for the identified object and the username/password pair supplied by the user matches decrypted from the token, the user is granted permission to perform the action specified by the token, for example to obtain the information object located at the unique object identifier. Otherwise, the request is denied.
[0019] Advantageously, an unauthorized user will not be able to access the object even when a valid access token for that object is presented. To obtain the object, the user must input the correct username/password pair. For subsequent requests from the same user from the same client 120, the user need not be re-authenticated. As part of username/password authentication, an encrypted ID or cookie including the client IP address, username, and password is generated by resource manage 110 and stored in client 120. An expiration time is stored along with the encrypted ID or cookie. Before the cookie expires, requests to the same resource manager 110 from the same client 120 will include the cookie in the request for an object. Resource manager 110 extracts the username/password pair from the cookie and compares that pair with the username/password pair in the access token. Since the client IP address is stored as part of the cookie on the client 120, a stolen cookie that is submitted to the resource manager from a different client machine by a different user will not pass the resource manager's authentication process. One advantage of the cookie being encrypted is that other users of the client machine cannot read IP address, username and password information from the cookie file.
[0020] The disclosed non-transferable token authentication process permits resource manager 110 to verify that the user who is presenting the token is the real owner of the token. Desirably, the process enables verification of token and owner without requiring that each resource manager maintain a copy of usernames and passwords stored on the library servers. Moreover, verification of the token owner need only be performed once for each user on a client machine within a predetermined time defined by the resource manager administrator and recorded in the aforementioned cookie stored on the client machine. To reduce processing overhead, multiple requests from the same user and the same client machine share one user verification before the time expires.
[0021] The disclosed non-transferable access token methodology can also operate with somewhat reduced security when client-server data channel privacy is not employed if so desired. While the earlier described embodiment employed a secure communication channel between client 120 and content management system 100, it is possible to employ an unsecure channel instead. Usage of such an unsecure communication channel would mean that the username/password pair is transmitted in the clear and is thus be subject to eavesdropping. However, in such a non-transferable access token embodiment, substantial security is still provided because an unauthorized user would need to steal and match both the access token and the username/password pair in order to breach the security of the content management system.
[0022]
FIG. 4 is a flowchart which depicts process flow of the disclosed content management technology employing either a transferable or a non-transferable access token. A user logs on to client 120 and requests access to an object stored in resource manager 110 as per step 400. A test is conducted by library server 105 at step 405 to determine if the user possesses the privilege of accessing the requested object. If the user does not have that privilege, access is denied as per rejection step 410. However, if the user does have the privilege of being permitted access to the requested object, then the library server generates a unique object identifier, UOI (such as a universal resource locator, URL) and an associated access token as per step 415.
[0023] A test is then conducted at decision block 420 to determine if permission is transferable from one user to another. If permission is transferable then the library server sends a unique object identifier and corresponding access token back to the user as per block 425. However, if permission is to be non-transferable, then the NT flag is set in the access token generated by the library server as per step 430. A unique user identifier (or username) and password are encrypted and embedded in the access token as per step 435. Process flow then continues to step 425 where the unique object identifier and the access token are sent back to the user at the client machine.
[0024] When the user desires to access the particular object in the resource manager, the user sends the unique object identifier and access token to the resource manager as per step 440. The resource manager conducts a test at step 445 to determine if the access token is transferable by checking the NT flag of the token. If the NT flag is found not to be set, then the access token is transferable and process flow continues to decision block 450 at which a test is conducted to determine if the access token is valid for the particular requested object or data. If the token is not valid for that object, then access is denied as per step 455. However, if the access token is valid for the requested object, then the user is granted permission to perform the act specified in the token as per step 460. In this scenario, since the access token is transferable, any user may use the access token to obtain the corresponding data object from the resource manager.
[0025] However, if the access token is found to be non-transferable in step 445 there is a very different result. More particularly, if the NT flag is found to be set, then the access token is determined to be non-transferable and process flow continues to step 465. At step 465 the resource manager prompts the user/client for a username and password which the user then provides to the resource manager. The resource manager decrypts is the access token to obtain the username and password as per step 470. A test is then conducted by the resource manager at decision block 475 to determine if the decrypted username/password pair obtained from the token is the same as the username/password pair obtained from the user prompt. If the username/password pairs do not match, then access to the object is denied as per step 480. However, if the username/password pairs do match, then process flow to decision block 450 at which a determination is made as to whether or not the non-transferable access token is valid for the particular object. If the token is invalid for that object, access is denied as per step 455. However, if the access token is valid for the particular object, then as per step 460 the user is granted permission to perform the act specified in the token, for example to retrieve the data in the particular object.
[0026] As discussed earlier in the case of a non-transferable access token, when the client or user accesses the resource manager (object server) via a browser on the client, the access token with username and password is sent to the resource manager. This can be accomplished by the following mechanisms. The encrypted access token can be included directly in unique object identifier 200 (such as a URL). However, the username/password pair is preferably separated from the unique object identifier. Otherwise, it would be simple for the user to transfer the token along with their username/password pair to a different user. To prevent this from occurring, the content management system can use cookies to store the user's information. If the user chooses to turn off cookies on the browser at client machine 120, then the user will be prompted to input their username and password each time they access the resource manager. Alternatively, state information for HTTP can also be maintained by using URL rewriting or including the username and password in the URL returned from the library server as mentioned earlier.
[0027] Referring back to FIG. 2, in one embodiment, content management system 100 behaves in the following manner when the client 120 accesses the resource manager/object server 110 for the first time after receiving the access token from library server 105. The user employs a browser on client machine 120 to access resource manager/object server 110 by sending server 110 the unique object identifier (UOI) received from library server 105. This request for information is sent to server 110 via a communications network, for example wire-connected HTTP. No cookie is attached to the request in this particular embodiment. Resource manager/object server 110 receives the request from the client and finds that there is no cookie. In response, server 110 generates a form that includes the original UOI (which could be a URL) in a hidden field along with fields for the user to fill in the username and password. Server 110 sends this form to client 120 via a new secure connection, such as secure HTTP (HTTPS) for example. Server 110 connects to the browser client 120 via a separate connection, for example asynchronous HTTP supported by HTTP 1.1.
[0028] Client 120 receives the form and the user fills in the requested username and password information. The completed form is transmitted by the client back to server 110 over the secure HTTPS network link. Server 110 validates the received information and then retrieves the contents associated with the requested UOI which is then returned to the client in the form. Server 110 generates a request to set a cookie on client 120. More particularly, server 110 returns to client 120 the requested data or object via the original HTTP network connection and also posts a set cookie request to the client. The cookie is then set in the client browser if cookies are enabled in the browser.
[0029] In an alternative embodiment, if asynchronous HTTP is not supported by either resource manager/object server 110 or client 120, the following steps are followed. The user employs a browser on client machine 120 to access resource manager/object server 110 by sending server 110 the unique object identifier (UOI) received from library server 105. This request for information is sent to server 110 via a communications network, for example wire-connected HTTP. No cookie is attached to the request in this particular embodiment. Resource manager 110 receives the request from the client and finds that there is no cookie. Resource manager 110 generates a form that includes the original UOI in a hidden field along with fields for the user to fill in username and password. The generated form is sent to client 120 as a response to the client via HTTP. Client 120 receives the form and the user fills in the requested username and password information. Client 120 then sends the completed form back to resource manager 110 via HTTPS (secure). Resource manager 110 validates the received information and retrieves the contents associated with requested UOI. These contents are then returned in the form. Resource manager 110 also prepares a request to set a cookie on client 120. Resource manager 110 then transmits the requested object back to the client and also posts a set cookie request to the client's browser via HTTPS (secure). The cookie is then set in client 120 if cookies are enabled in its browser.
[0030] In more detail, the cookie that resource manager/object server 110 attempts to set on the client's browser contains the following information. The cookie includes the username/password encrypted using a private key known only to resource manager/object server 110. Resource manager 110 has a public key which is known to the client's browser. The cookie also includes the relevant domain and the expiration date/time of the cookie.
[0031] For subsequent requests to resource manager/object server 110 for additional data or objects before the cookie expires, the following actions occur. Client 120 employs its browser to access resource manager 110 and request the object at the UOI received from library server 105. The request is sent by client 120 to resource manager 110 via HTTP. The cookie is now attached automatically to this request by the client's browser. Resource manager 110 receives the request, decrypts the username and password therein and compares them to the username and password in the access token. If the username/password pairs match, then the requested object is returned to client 120.
[0032] The content management system can be stored on virtually any computer-readable storage media, such as CD, DVD and other magnetic and optical media in either compressed or non-compressed form. Of course, it can also be stored on a server computer system or other information handling system.
[0033] The disclosed methodology and apparatus enhance security by controlling access to objects stored in a content management system. Access tokens are prevented from being employed by users other than the original client user when such restricted access is desired. The system can alternatively provide non-transferable access tokens when heightened security is desired or provide transferable access tokens when security is less of a concern.
[0034] Although illustrative embodiments have been shown and described, a wide range of modification, change and substitution is contemplated in the foregoing disclosure and in some instances, some features of an embodiment may be employed without a corresponding use of other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the embodiments disclosed herein.
Claims
- 1. A method of accessing information in a content management system comprising:
receiving, by the system, a request from a client user for an object stored in the system; generating, by the system, a unique object identifier associated with the requested object; and generating, by the system, a non-transferable access token coded with information unique to the client user such that when submitted to the system by a user other than the client user, the system denies access to the requested object.
- 2. The method of claim 1 further comprising transmitting, by the system, the non-transferable access token to the client user.
- 3. The method of claim 1 further comprising setting a non-transferable flag in the access token to indicate that the access token is non-transferable to a user other than the client user.
- 4. The method of claim 1 further comprising querying the client user for username and password.
- 5. The method of claim 4 further comprising encrypting the username and password to provide an encrypted username and encrypted password.
- 6. The method of claim 5 further comprising embedding the encrypted username and encrypted password in the non-transferable access token.
- 7. The method of claim 6 further comprising transmitting to the system, by the client user, an object request including the unique object identifier and the non-transferable access token.
- 8. The method of claim 7 further comprising prompting, by the system, the client user for username and password to provide a prompted username and prompted password.
- 9. The method of claim 8 further comprising decrypting, by the system, the non-transferable access token to provide a decrypted username and decrypted password.
- 10. The method of claim 9 further comprising testing, by the system, to determine if the prompted username and prompted password from the client user match the decrypted username and decrypted password from the non-transferable access token.
- 11. The method of claim 10 further comprising denying access to the object if a match is not found in the testing step or granting access to the object if a match is found in the testing step.
- 12. A method of accessing information in a content management system including a library server for generating access tokens and an object server for storing objects, the method comprising:
receiving, by the library server, a request from a client user for an object stored in the object server; generating, by the library server, a unique object identifier associated with the requested object; and generating, by the library server, a non-transferable access token coded with information unique to the client user such that when submitted to the system by a user other than the client user, the system denies access to the requested object.
- 13. The method of claim 12 further comprising transmitting, by the library server, the non-transferable access token to the client user.
- 14. The method of claim 12 further comprising setting, by the library server, a non-transferable flag in the access token to indicate that the access token is non-transferable to a user other than the client user.
- 15. The method of claim 12 further comprising querying, by the library server, the client user for username and password.
- 16. The method of claim 15 further comprising encrypting, by the library server, the username and password to provide an encrypted username and encrypted password.
- 17. The method of claim 16 further comprising embedding, by the library server, the encrypted username and encrypted password in the non-transferable access token.
- 18. The method of claim 17 further comprising transmitting to the object server, by the client user, an object request including the unique object identifier and non-transferable access token.
- 19. The method of claim 18 further comprising prompting, by the object server, the client user for username and password to provide a prompted username and prompted password.
- 20. The method of claim 19 further comprising decrypting, by the object server, the non-transferable access token to provide a decrypted username and decrypted password.
- 21. The method of claim 20 further comprising testing, by the object server, to determine if the prompted username and prompted password from the client user match the decrypted username and decrypted password from the non-transferable access token.
- 22. The method of claim 21 further comprising denying access to the requested object if a match is not found in the testing step or granting access to the requested object if a match is found in the testing step.
- 23. A content management system comprising:
an object server for storing objects to be accessed by client users; a library server for generating access tokens having a flag which is settable to indicate that a token is non-transferable or which remains unset to indicate that a token is transferable; and an application program interface, coupled to the object server and the library server, to provide a communication port between the system and a client user requesting access to an object.
- 24. A computer program product for organizing information in a content management system, the computer program product including a plurality of computer executable instructions stored on a computer readable medium, wherein the instructions, when executed by the content management system, cause the system to perform the steps of:
receiving, by the system, a request from a client user for an object stored in the system; generating, by the system, a unique object identifier associated with the requested object; and generating, by the system, a non-transferable access token coded with information unique to the client user such that when submitted to the system by a user other than the client user, the system denies access to the requested object.
- 25. The computer program product of claim 24 wherein the computer readable medium is an optical disk.
- 26. The computer program product of claim 24 wherein the computer readable medium is a magnetic disk.