|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Run Winapplication from shared directory or Net Map DriveHi;
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. Show quote "Alvaro" <AGonzal***@gmail.com> wrote in message news:OIYSwlmLGHA.1532@TK2MSFTNGP12.phx.gbl... > 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;
Doesn´t working MapNetDrive Linux(samba) Regards Dmytro Lapshyn [MVP] wrote: Show quote > 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. > > "Alvaro" <AGonzal***@gmail.com> wrote in message > news:OIYSwlmLGHA.1532@TK2MSFTNGP12.phx.gbl... > >>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... > > > |
|||||||||||||||||||||||