When Using OS Authenticated Odp.net Connections With Pooling,The Same Connection is Used for Different Users
Last updated on JUNE 20, 2011
Applies to:Oracle Data Provider for .NET - Version: 220.127.116.11 to 18.104.22.168 - Release: 11.1 to 11.1
Information in this document applies to any platform.
after user A opens a connection and closes it. Thereby releasing it into the pool, if user B opens another connection using the same connection string. He will obtain the pooled connection and effectively impersonate user A (AUTHENTICATED_IDENTITY is that of user A). This is absolutely unwanted and presents a security flaw.
ODP should create a different connection pool for user B even though the connection string is the same. This means the provider has to differentiate between the connection pools not only upon the actual connection string parameters but to also take into account the identity of the connection string user.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms