Running “partially trusted” .NET assemblies from a network share

后端 未结 4 759
执念已碎
执念已碎 2021-01-11 14:37

When I try to run a .NET assembly (boo.exe) from a network share (mapped to a drive), it fails since it\'s only partially trusted:

Unhandled Exc         


        
4条回答
  •  北海茫月
    2021-01-11 15:29

    With .NET 3.5 SP1, .NET assemblies running from UNC shares have full permissions.

    See Brad Abrams's Allow .exes to be run off a network shares for workaround and discussions, and finally the follow up .NET 3.5 SP1 allows managed code to be launched from a network share.

提交回复
热议问题