Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

How to connect to sql server using windows authentication

$
0
0

I have a client & server. server is my wcf service and client is windows 8 app.

i want users to connect with windows authentication. My service should communicate with the database using windows authentication too.

Database is in another domain and i have credentials(system account) to connect to database, but my system(client) credentials are different. now i want to impersonate the request.


i did impersonation using <identity impersonate="true" username="domain\username" password="password"/>(system account details the account which has access to database) in web.config and authentication mode to windows 

could you guys please suggest me some ideas.



suresh


Viewing all articles
Browse latest Browse all 7129

Trending Articles