Re: CAS,Stackwalk and code reuse
- From: "Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com>
- Date: Wed, 22 Feb 2006 12:34:29 -0500
Yes, although you still need to consider the issue of blocking inappropriate
callers. For an impersonation sample that uses delegation in this way, see
http://blogs.msdn.com/shawnfa/archive/2005/03/24/401905.aspx.
<siddharthkhare@xxxxxxxxxxx> wrote in message
news:1140628194.072949.80200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
thanks to you both.
Does impersonation work for a thraed unlike CAS?
I mean a code like this will imperosnate for a thread no matter what
function sequence it is on the calls stack...and even if that function
call is taken out of te stack...
windowsImpersonationContext = windowsIdentity.Impersonate();
I think imperosnation works differently than CAS..but wanted to make
sure ..
Thanks
Sidd
.
- References:
- CAS,Stackwalk and code reuse
- From: siddharthkhare
- RE: CAS,Stackwalk and code reuse
- From: Jas
- Re: CAS,Stackwalk and code reuse
- From: Nicole Calinoiu
- Re: CAS,Stackwalk and code reuse
- From: siddharthkhare
- CAS,Stackwalk and code reuse
- Prev by Date: Re: CAS,Stackwalk and code reuse
- Next by Date: Where did the .Net 1.1 wizards go on .Net 2.0??
- Previous by thread: Re: CAS,Stackwalk and code reuse
- Next by thread: Where did the .Net 1.1 wizards go on .Net 2.0??
- Index(es):