Configuring password encryption

For password encryption, you must specify password encryption libraries and connection options for the simple password communication support module (CSM).

Informix® provides the following shared libraries for use as CSMs. The paths and fixed file names are:
  • $INFORMIXDIR/lib/client/csm/libixspw.so (UNIX™ and Linux™)
  • %INFORMIXDIR%\bin\libixspw.dll (Windows™)
The shared libraries also have version-specific names that can be used in place of the fixed names. If you use the version-specific name, and the server is updated, you must update the concsm.cfg file.

To configure the CSM for password encryption, use the following syntax to add a line to $INFORMIXDIR/etc/concsm.cfg (UNIX and Linux) or %INFORMIXDIR%\etc\concsm.cfg (Windows).

Figure 1: Syntax

1  csmname ( 
2.1  client = clientlib , server = serverlib
2.1  csmlib
1 
1 ,  "" , ?  p =
2.1 0
2.1 1  )
Option Description
clientlib The full path and name of the shared library that is the CSM on the client computer.
csmlib The full path and name of the shared library that is the CSM if the CSM is shared by both the database server and the client computers.
csmname The name that you assign to the CSM.
p The password option. For CSDK version 2.3 and later, if the field is null (""), the default behavior is p=0. For CSDK before version 2.3, if the field is null, the default behavior is p=1.
1
The password is mandatory for authentication.
0
The password is not mandatory for authentication. If the client provides the password, it is encrypted and used for authentication.
serverlib The full path and name of the shared library that is the CSM on the database server.