Re: Sandboxed appdomain opening winforms
From: David Levine (noSpamdlevineNNTP2_at_wi.rr.com)
Date: 12/02/04
- Next message: Richard Blewett [DevelopMentor]: "Re: Sandboxed appdomain opening winforms"
- Previous message: David Levine: "Re: Sandboxed appdomain opening winforms"
- In reply to: Kirk Jackson: "Re: Sandboxed appdomain opening winforms"
- Next in thread: David Levine: "Re: Sandboxed appdomain opening winforms"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Dec 2004 05:04:48 -0600
"Kirk Jackson" <kirk@community.nospam> wrote in message
news:OJPeuFF2EHA.3408@tk2msftngp13.phx.gbl...
>> Unfortunately loading *UI* code into a separate AppDomain is not a
>> supported scenario in Windows Forms
>
> Thanks Richard, I appreciate your help.
>
> Do you (or anyone else) know the answers to these questions?
>
> - Can Winform code be *reliably* run in an AppDomain at full trust? It
> seems to work for me - can I rely on it?
What do you mean by "realiably"? Full trust means that is has all possible
permissions.
>
> - Is there any other way to reduce the permissions of code that contains
> UI code, so that it can't access files / network etc?
>
Yes, there ways of doing this. For example, you can package this code in a
separate assembly, and then when the assembly is loaded you can supply
evidence that will make it run at a reduced security level. I suggest
reading one of the books on Code Access Security - there are several.
> - Will it be possible in future versions of the framework?
>
> It'd be great if someone can point me to docs or a web page outlining
> this - I'd like to have something to show to others about why my current
> approach won't work.
Ask your questions on the security newsgroup @
microsoft.public.dotnet.security
- Next message: Richard Blewett [DevelopMentor]: "Re: Sandboxed appdomain opening winforms"
- Previous message: David Levine: "Re: Sandboxed appdomain opening winforms"
- In reply to: Kirk Jackson: "Re: Sandboxed appdomain opening winforms"
- Next in thread: David Levine: "Re: Sandboxed appdomain opening winforms"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|