Running Win32.net apps on Network Share

From: Tom Cuscino (tomcu@gasullivan.com)
Date: 02/14/03


From: "Tom Cuscino" <tomcu@gasullivan.com>
Date: Fri, 14 Feb 2003 16:11:28 -0600


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



Relevant Pages

  • Re: Request for the permission of type System.Net.SocketPermission
    ... I am afraid there's no other way. ... each machine locally (as opposed to a network share), ... should be granted the "FullTrust" permission set by default (unless the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Deploy Win Form
    ... SqlClientPermission for network share application. ... Select "Full Trust" permission set for this application. ...
    (microsoft.public.dotnet.languages.csharp)