Can IIS pass my login details to Sql Server.
regards
John
>
>Can IIS pass my login details to Sql Server.
>
Yes, you can enable impersonation in the web.config file and the
ASP.NET code will execute with the identity of the client.
<configuration>
<system.web>
<identity impersonate="true" />
</system.web>
</configuration>
There are some gotchas to this approach, such as the probable loss of
connection pooling features, but maybe you already know this. Try
these URLs for more details:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetimpersonation.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconDatabaseSecurity.asp
--
Scott
Be aware that :
- doing this you aren't taking advantage of connection pooling in the middle tier.
- of the security implications by enabling the accounts to be delegated.
Willy.
"john" <jfl...@webdatabases.co.uk> wrote in message news:ubm52KiOCHA.2456@tkmsftngp13...
Does this mean that I have to hard wire a login/password?
Regards
John
"Willy Denoyette [MVP]" <willy.d...@pandora.be> wrote in message
news:e$82GcvOCHA.2392@tkmsftngp04...