|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Cooecting to SQL server ??Dear all
if my conection string is based on Integrated Security, if from my applciation which used windows identification, is there a default log on user that will be used when connecting to SQL ( same as ASp Account when anonimous is used) ? thnaks for the info regards Hi
The most simple answer is that the same security identity that the code is running under will be used to access SQL Server. You can check the current security context by calling WindowsIdentity.GetCurrent() to obtain the the actual identity that the application is running under. This context will be dictated by the settings on IIS and whether your web app is impersonating (set in web.config). Show quoteHide quote "serge calderara" wrote: > Dear all > > if my conection string is based on Integrated Security, if from my > applciation which used windows identification, is there a default log on user > that will be used when connecting to SQL ( same as ASp Account when anonimous > is used) ? > > thnaks for the info > > regards
Problems accessing the ASPNETDB.MDF file
Have a NTAccount, need FileSystem permissions Machine hops - Basic Authentication single sign on from web to smart client Access Private Key File From X509 Certificate Assigning Strong Name to COM dlls Can SslStream be set to ignore invalid certificates? authentication against adsi/ldap Hangs indefinitely at first call to object of IWbemServices (In case of dll) WIN 2000 deploying executable to network to be ran in logon script |
|||||||||||||||||||||||