Run Winapplication from shared directory or Net Map Drive

  • Thread starter Thread starter Alvaro
  • Start date Start date
A

Alvaro

Hi;

I have a winapplication placed on shared directory of Linux server using
Samba.

The application reaised System.Security.SecurityException.

How can i solve this problem?

regards...
 
Hi,

Applications that are run from a network share belong to the Local Intraned
code group which has quite restricted permissions by default. You actually
have two options:

a) To loosen the restrictions of the permission set for the Local Intranet
code group (you'll have to do that for every machine on the network, or you
can modify the enterprise-level policy). But this leaves security holes.

b) To create a dedicated code group for your application (you will probably
want to strong-name it, but the network location alone should do) and assign
the FullTrust permission set to this code group. This is the recommended
option IMO.
 
Back
Top