Groups | Blog | Home
all groups > dotnet security > august 2006 >

dotnet security : IN which context my web service is running?


serge calderara
8/3/2006 5:01:02 PM
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
Dominick Baier
8/4/2006 12:00:00 AM
Hi,


WindowsIdentity.GetCurrent().Name

will tell you the effective security context.

Also check this out:

http://www.leastprivilege.com/ShowContextsAnotherUpdateIAdmitIt.aspx

dominick

[quoted text, click to view]

AddThis Social Bookmark Button