SECURITY_LOCALCONNECTION configuration parameter

Use the SECURITY_LOCALCONNECTION configuration parameter to verify security on local connections by verifying that the ID of the local user who is running a program is the same ID of the user who is trying to access the database.

onconfig.std value
Not set.
values
0 = No security checking occurs.

1 = IBM® Informix® checks whether the ID of the user who is running the program matches the ID of the user who is trying to connect to the database.

2 = same as 1, plus Informix retrieves the peer port number from the network API and verifies that the connection is coming from the client program. You can only specify two if your system has SOCTCP or IPCSTR network protocols.

takes effect
After you edit your onconfig file and restart the database server.