![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello all, We have an application here which we are migrating from WIN32/C++ to .NET This tool can be used by our client and launch from a network share : The user install it on one server and any workstation can run the tool by \\SERVER\Tools\Tools.exe When dealing with .NET, it seems there is some security which forbid by default to run a .NET exe from a network share. What is the solution and which action must be done on workstation by our client to be able to run this .NET exe from the server share ? Best regards, Frédéric |
#3
| |||
| |||
|
|
Hi, what you encountered is a Code Security issue and you have to deal with the Runtime Configuration of your System and Code. It is called "Code Access Security". Read this for more Information: [.NET Framework Developer's Guide Code Access Security] http://msdn.microsoft.com/en-us/library/930b76w0.aspx [.NET Framework Security Chapter 8 - Code Access Security in Practice] http://msdn.microsoft.com/en-us/library/aa302424.aspx [Understanding .NET Code Access Security] http://www.codeproject.com/KB/security/UB_CAS_NET.aspx [Code Access Security (CAS) and Design Patterns] http://www.codeproject.com/KB/architecture/CASDesignPatterns.aspx [Code Access Security] http://en.wikipedia.org/wiki/Code_Access_Security [Configuring .NET Code Access Security] http://www.15seconds.com/Issue/040121.htm Good Luck! regards Kerem |
#4
| |||
| |||
|
|
Thanks for all these links, very very interesting :-) My conclusion, is that an action MUST be done on any computer wanted to access and run this executable from the network share. (There is different way to achieve this action, manually or automatically depending on our solution...) Thanks again, Frédéric Kerem Gümrükcü a écrit : Hi, what you encountered is a Code Security issue and you have to deal with the Runtime Configuration of your System and Code. It is called "Code Access Security". Read this for more Information: [.NET Framework Developer's Guide Code Access Security] http://msdn.microsoft.com/en-us/library/930b76w0.aspx [.NET Framework Security Chapter 8 - Code Access Security in Practice] http://msdn.microsoft.com/en-us/library/aa302424.aspx [Understanding .NET Code Access Security] http://www.codeproject.com/KB/security/UB_CAS_NET.aspx [Code Access Security (CAS) and Design Patterns] http://www.codeproject.com/KB/architecture/CASDesignPatterns.aspx [Code Access Security] http://en.wikipedia.org/wiki/Code_Access_Security [Configuring .NET Code Access Security] http://www.15seconds.com/Issue/040121.htm Good Luck! regards Kerem |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |