|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IN which context my web service is running?Dear all,
I have an ASP 1.1 application which used either Form or WIndows Identification The aplication is calling a web service to get data from an SQL server database Based on that, if Windows identification is used for my ASP application, in which user context will run my web service when called ? will it run with the default ASP account or will it automatically inherit from tha Windows identificvation when called ? thnaks for your help regard serge Hi,
WindowsIdentity.GetCurrent().Name will tell you the effective security context. Also check this out: http://www.leastprivilege.com/ShowContextsAnotherUpdateIAdmitIt.aspx dominick Show quoteHide quote > Dear all, > > I have an ASP 1.1 application which used either Form or WIndows > Identification The aplication is calling a web service to get data > from an SQL server database > > Based on that, if Windows identification is used for my ASP > application, in which user context will run my web service when called > ? will it run with the default ASP account or will it automatically > inherit from tha Windows identificvation when called ? > > thnaks for your help > regard > serge
Problems accessing the ASPNETDB.MDF file
Have a NTAccount, need FileSystem permissions Machine hops - Basic Authentication single sign on from web to smart client security warning in self signed certificate Assigning Strong Name to COM dlls Access Private Key File From X509 Certificate 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 |
|||||||||||||||||||||||