Home All Groups Group Topic Archive Search About

Run Winapplication from shared directory or Net Map Drive

Author
10 Feb 2006 5:38 PM
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...

Author
13 Feb 2006 12:36 PM
Dmytro Lapshyn [MVP]
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...
Author
13 Feb 2006 11:51 PM
Alvaro
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...
>
>
>

AddThis Social Bookmark Button