Home All Groups Group Topic Archive Search About
Author
24 Nov 2004 7:29 AM
Chakra
I have a windows application which references some components and 2
webservices. When this application is being used over the intranet, the
system asks for Security adjustments. I thought this was only required for
situations where we download an assembly - why is it required for accessing
a 'winexe' over the LAN ?

Author
24 Nov 2004 11:54 AM
Carlos J. Quintero [MVP]
By default, .NET exes can not run in Intranet zones with Full Trust, only in
hard drive. Read something about code security in .NET and
the usage of the Microsoft .NET Framework Configuration and Microsoft .NET
Framework Wizards (Control Panel, Administrative Tools) to change the
default security policy (or the caspol.exe command-line equivalent).

If you want a quick and blind solution, go to Control Panel, Administrative
Tools, Microsoft .NET Framework Configuration, open the MyComputer\Runtime
Security Policy\Machine\Code Groups\All_Code\LocalIntranet_Zone, right-click
New... and create a zone, give a name,  select
URL type for the code group and type as URL
file://MyServer/MyFolder1/MyAddDir/*

--

Carlos J. Quintero

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com


Show quote
"Chakra" <r_chakravar***@hotmail.com> escribió en el mensaje
news:%23qOqmWf0EHA.4004@tk2msftngp13.phx.gbl...
>I have a windows application which references some components and 2
> webservices. When this application is being used over the intranet, the
> system asks for Security adjustments. I thought this was only required for
> situations where we download an assembly - why is it required for
> accessing
> a 'winexe' over the LAN ?
>
>
>

AddThis Social Bookmark Button