![]() |
Cloudscape and Security
|
Reference Manual |
Users and Authorization IdentifiersUser names within the Cloudscape system are known as authorization identifiers. The authorization identifier is a string that represents the name of the user, if one was provided in the connection request. For example, the built-in function CURRENT_USER returns the authorization identifier for the current user. Once the authorization identifier is passed to the Cloudscape system, it becomes an SQL92Identifier. SQL92Identifiers--the kind of identifiers that represent database objects such as tables and columns--are case-insensitive (they are converted to all caps) unless delimited with double quotes, are limited to 128 characters, and have other limitations. User names must be valid authorization identifiers even if user authentication is turned off, and even if all users are allowed access to all databases. For more information about SQL92Identifiers, see SQL92Identifier of the Cloudscape Reference Manual. Authorization Identifiers, User Authentication, and User AuthorizationWhen working with both user authentication and user authorization, you need to understand how user names are treated by each system. If an external authentication system is used, the conversion of the user's name to an authorization identifier does not happen until after authentication has occurred but before user authorization (see User Authorization). Imagine, for example, a user named Fred.
cloudscape.fullAccessUsers=sa,FRED,mary Let's take a second example, where Fred has a slightly different name within the user authentication system.
As shown in the first example, your external authentication system may be case-sensitive, whereas the authorization identifier within Cloudscape may not be. If your authentication system allows two distinct users whose names differ by case, delimit all user names within the connection request to make all user names case-sensitive within the Cloudscape system. In addition, you must also delimit user names that do not conform to SQL92Identifier rules with double quotes. User Names and SchemasUser names can affect a user's default schema. For information about user names and schemas, see SET SCHEMA statement in the Cloudscape Reference Manual. ExceptionsSpecifying an invalid authorization identifier in a database user authorization property raises an exception. Specifying an invalid authorization identifier in a connection request raises an exception. |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |