Re: Running Win32.net apps on Network Share
From: Marcelo J. Birnbach (mbirnbac@online.microsoft.com)
Date: 02/14/03
- Previous message: Marcelo J. Birnbach: "Re: Does .NET detect alterations to an assembly?"
- In reply to: Tom Cuscino: "Running Win32.net apps on Network Share"
- Next in thread: Tom Cuscino: "Re: Running Win32.net apps on Network Share"
- Reply: Tom Cuscino: "Re: Running Win32.net apps on Network Share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Marcelo J. Birnbach" <mbirnbac@online.microsoft.com> Date: Fri, 14 Feb 2003 14:34:53 -0800
Hi Tom,
What you are doing by that is opening a HUGE security hole. You are allowing
any code coming from the Intranet to call unmanaged call. For example
through PInvoke call "format.com c:"
I don't understand why you are saying that the method you are proposing is
better than strongly name the assembly and give to its key the desired
level.
Anyway, any simple application should be able to run from the Intranet since
the only needed permission to run is SecurityPermission.Execution
Console.WriteLine doesn't require any permission.
Thanks,
Marcelo
"Tom Cuscino" <tomcu@gasullivan.com> wrote in message
news:eOpwyYH1CHA.1624@TK2MSFTNGP10...
> I have found the smallest change that can be made in order to run a
> donothing Win32.Net app (like HelloWorld) on a network share.
>
> 1. Make a duplicate of the permission set LocalIntranet
> 2. Go into Change Permissions on the duplicate, select Security, and
click
> Properties
> 3. Check the Box called "Allow calls to Unmanaged Assemblies"
> 4. Right click the Code group named LocalIntranet_Zone, go to properties,
> the Permission set tab, and repoint to the newly created permission set.
>
> This is definitely better than granting fulltrust to the assembly.
>
> Tom Cuscino
> tomcu@gasullivan.com
>
>
- Next message: Joe Kaplan: "How can I tell if an X509 cert is valid for encryption using the X509Certificate class?"
- Previous message: Marcelo J. Birnbach: "Re: Does .NET detect alterations to an assembly?"
- In reply to: Tom Cuscino: "Running Win32.net apps on Network Share"
- Next in thread: Tom Cuscino: "Re: Running Win32.net apps on Network Share"
- Reply: Tom Cuscino: "Re: Running Win32.net apps on Network Share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|