How to the web client credentials to call the server (hosted in IIS 7) database with Integrated Security


i'm dealing problem trying use windows authentication iis 7 in windows server 2008. i'm using wcf.

i have client application , server application. server application manage user accounts using active directory. starts when client sends user , password server application, hosted in iis(7), , application must use same credentials authenticate user in active directory.

also after user logged in application, every request sent database must use windows integrated security.

i installed windows authentication in iis 7, , enabled it, (and disabled anonymous authentication), added authentication mode="windows" in server app web.config.

i know: - how can know user running server application (in other words, user doing requests database). forgot can't use sql server profiler cause don't have permissions. - if i'm missing something, cause don't want have security problems in application.

by way website says topic using iis version. http://imar.spaanjaars.com/287/how-do-i-determine-the-security-account-that-iis-uses-to-run-my-web-site

hi thepib,

 

in order know user accessing database, refer dynamic management view (dmv) sys.dm_exec_requests. more information dmv, please refer link: http://msdn.microsoft.com/en-us/library/ms177648.aspx

meanwhile query on dmv requires view server state permission on server. please make sure login has permission.

 

if unclear, please let me know.


regards,
tom li


SQL Server  >  SQL Server Security



Comments

Popular posts from this blog

more indexes

ActiveDirectory

Virtual Channel