Running a .NET application from a file share without code signing

后端 未结 7 1819
挽巷
挽巷 2021-01-01 07:02

The .NET security model throws security errors whenever a .NET exe is run from a file share. The error does not appear when ran from a local drive. Does anyone know of a way

7条回答
  •  一整个雨季
    2021-01-01 07:36

    Make sure that .Net 3.5SP1 is installed on the machine which is running the software. This version removes the security restriction on apps running from a file share. It allows them to run at full trust vs. the previous model which put them in a restricted environment.

    Here's a link to Vance's blog article on the subject

    • http://blogs.msdn.com/vancem/archive/2008/08/13/net-framework-3-5-sp1-allows-managed-code-to-be-launched-from-a-network-share.aspx

提交回复
热议问题