The Artima Developer Community
Sponsored Link

.NET Buzz Forum
BeginInvoke() another undocumented Security requirement

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mark Levison

Posts: 877
Nickname: mlevison
Registered: Jan, 2003

Mark Levison an agile software developer who writes Notes from a tool user.
BeginInvoke() another undocumented Security requirement Posted: Jan 14, 2005 12:27 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Mark Levison.
Original Post: BeginInvoke() another undocumented Security requirement
Feed Title: Mark Levison
Feed URL: /WebLog/error.aspx?aspxerrorpath=/WebLog/mlevison/Rss.aspx
Feed Description: Musings on No Touch Deployment, .NET development and photography
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Mark Levison
Latest Posts From Mark Levison

Advertisement

Earlier today I got myself into a little trouble, I had been calling BeginInvoke() to act as a PostMessage() to display a new object only after its parent had been created.  When running under full trust this worked very well, however as soon as someone (not I oops) tested in the default internet trust - Boom a security exception.  It turns out that BeginInvoke() calls MarshaledInvoke() which eventually calls CompressedStack.GetCompressedStack() which has a link demand for Unmanaged code. Unsurprisingly code deployed from the internet doesn't get this permission by default.


This Blog Hosted On: http://www.DotNetJunkies.com/

Read: BeginInvoke() another undocumented Security requirement

Topic: DotNetDevs Advice Previous Topic   Next Topic Topic: .Net Architects user group - Architectural tools - dynamic modeling, code generation and IDE...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use