Security plug-in library locations

After you acquire your security plug-ins (either by developing them yourself, or purchasing them from a third party), copy them to specific locations on your database server.

Db2® clients looks for client-side user authentication plug-ins in the following directory:
  • UNIX 32-bit: $DB2PATH/security32/plugin/client
  • UNIX 64-bit: $DB2PATH/security64/plugin/client
  • WINDOWS 32-bit and 64-bit: $DB2PATH\security\plugin\instance name\client
Note: On Windows-based platforms, the subdirectories instance name and client are not created automatically. The instance owner has to manually create them.
The Db2 database manager looks for server-side user authentication plug-ins in the following directory:
  • UNIX 32-bit: $DB2PATH/security32/plugin/server
  • UNIX 64-bit: $DB2PATH/security64/plugin/server
  • WINDOWS 32-bit and 64-bit: $DB2PATH\security\plugin\instance name\server
Note: On Windows-based platforms, the subdirectories instance name and server are not created automatically. The instance owner has to manually create them.
The Db2 database manager looks for group plug-ins in the following directory:
  • UNIX 32-bit: $DB2PATH/security32/plugin/group
  • UNIX 64-bit: $DB2PATH/security64/plugin/group
  • WINDOWS 32-bit and 64-bit: $DB2PATH\security\plugin\instance name\group
Note: On Windows-based platforms, the subdirectories instance name and group are not created automatically. The instance owner has to manually create them.