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

后端 未结 7 1823
挽巷
挽巷 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:32

    To get around this we ended up wrapping our .exe in a batch file. The batch file copied the .exe to the local drive and ran it from there. I'm sure there is a less hacky way though!

提交回复
热议问题