Informix11.7 provides a mechanism for non-operating system users to access the database. In versions earlier than Informix, all database users must be system users with corresponding permissions. From 11.7, Informix allows users to connect to Informix through internal authorization services (such as Kerberos or MicrosoftActiveDirectory)
Informix11.7 provides a mechanism for non-operating system users to access the database. In versions earlier than Informix, all database users must be system users with corresponding permissions. From 11.7, Informix allows users to connect to Informix through internal authorization services (such as Kerberos or Microsoft Active Directory)
In this way, the system can be accessed by ing existing users except Informix and root in the system. This mechanism will reduce the number of system users created for use. Reduce DBA workload and increase the security factor of the system.
1. Overview
Informix11.7 provides a mechanism for non-operating system users to access the database. In versions earlier than Informix, all database users must be system users with corresponding permissions. Starting from 11.7, Informix allows users to connect to the Informix database through internal authorization services (such as Kerberos or Microsoft Active Directory) without the need for system users. This method allows the system to access the database by ing existing users except Informix and root in the system. This mechanism will reduce the number of system users created to use the database. Reduce DBA workload and increase the security factor of the system.
2. Informix authorization mechanism
Beginning with Informix 11.7, Informix provides non-OS user NON-OS user authentication in addition to operating system user authentication. The following describes the mechanisms and differences between the two authentication methods.
2.1 Informix operating system user authentication mechanism
The traditional user authentication method of Informix is to use an operating system user and determine the legality of the user through a user ID and password. This is the most common and simple authentication method. The following is an Informix authorization mechanism.
Figure 1. Informix traditional verification mechanism
1. As shown in the traditional authentication method, the user who needs to access the database is also a system user. To create an Informix database user, you must first create an operating system user, then authorize the user to access the database. When a large number of database users need to be created, a large number of system users are generated, and a large amount of system management work is required. At the same time, there are some potential risks to system security.
2.2 Informix11.7 non-system user authentication mechanism
Informix has added a non-system user ing method to operate databases since version 11.7. This method can map multiple non-system users to one system user. As shown in the following figure, non-system users of Informix access the database:
Figure 2. Informix non-system user authentication mechanism
As shown in the preceding figure, non-system users complete Informix authentication by ing system users. Non-system users use the UserID and GroupID information of the mapped operating system users. The USERMAPPING parameter in the onconfig file of Informix is used to control the enabling and disabling of the ing function. By default, as long as the ing function is enabled, any non-system user can connect to the database through the mapped system user. Of course, you can also use commands to control whether users can access them.