Security adjustments

  • Thread starter Thread starter Chakra
  • Start date Start date
C

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 ?
 
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/*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top