In WCF, Net.TCP
, a client calling a service with Transport
security and client credentials="Windows"
(basically the following scenario: https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/transport-security-with-windows-authentication), if the service then accesses a database and the connection string is using Integrated Security
, which user is accessing the database? Is it the user running the client or the user running the service, for ex. a service account?
1
votes
1 Answers
0
votes
OP:
if the service then accesses a database and the connection string is using Integrated Security, which user is accessing the database?
The DB connection will be in the context of the WCF service. To open the DB on their behalf you may need to impersonate them.
That linked example is only describing the authentication used to call the service