Phillip
Phillip

Reputation: 440

Security Context of DB connection over Web Service Call

If I have an application (on C#) that runs under a user context (ex. DOMAIN\StandardUser) which makes a call to a Web Service, which has the web service worker process running under a different context (ex. DOMAIN\WebServiceUser), and that web service connects to a SQL database, which user context does the database connect from, the StandardUser or the WebServiceUser?

Thanks,

Upvotes: 0

Views: 485

Answers (1)

Syed Tayyab Ali
Syed Tayyab Ali

Reputation: 3681

use integrated security, so your user context will also use for web service.

Upvotes: 2

Related Questions