|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Code Access Policy Zone ProblemHi, I'm having a problem related to Code Access Policy zones. I have a .NET
2.0 executable that when run directly from a local drive letter (e.g. c:\Test\MyEXE.EXE) works just fine. However, if I share the folder that the EXE is in and then attempt to run it through the share, it will fail to start up. The share that I am trying to run it through is on the computer that I am trying to run the app from (i.e. even though I am using a share, only one computer is involved). I ran caspol.exe to see what code groups the EXE was in and was surprised to see that it was in the Internet group rather than the Intranet group. I tried the same thing on some other computers and it worked as expected. So, long story short, one of my computers seems to believe that its own shares are in the Internet zone and not the Intranet zone. Does anyone know how the zone determination is made or what might cause it to go awry? Thanks for your help. Fran Parker MaxQ Technologies, Inc. Zones are evaluated according to what is specified in IE's security tab.
So if your machine is not part of the trusted zone (Local_Intranet) you are subject to reduced permissions as you've discovered. In short - zone evaluation is driven by IE's settings. -- Show quoteHide quotergds. /Claus Konrad MCSD.NET (C#) "Fran Parker" wrote: > Hi, I'm having a problem related to Code Access Policy zones. I have a .NET > 2.0 executable that when run directly from a local drive letter (e.g. > c:\Test\MyEXE.EXE) works just fine. However, if I share the folder that the > EXE is in and then attempt to run it through the share, it will fail to > start up. The share that I am trying to run it through is on the computer > that I am trying to run the app from (i.e. even though I am using a share, > only one computer is involved). I ran caspol.exe to see what code groups > the EXE was in and was surprised to see that it was in the Internet group > rather than the Intranet group. I tried the same thing on some other > computers and it worked as expected. So, long story short, one of my > computers seems to believe that its own shares are in the Internet zone and > not the Intranet zone. Does anyone know how the zone determination is made > or what might cause it to go awry? Thanks for your help. > > Fran Parker > MaxQ Technologies, Inc. > > > What path are you using to access the share?
Show quoteHide quote "Fran Parker" <fparker@> wrote in message news:%23kSMNhqAHHA.3836@TK2MSFTNGP02.phx.gbl... > Hi, I'm having a problem related to Code Access Policy zones. I have a > .NET 2.0 executable that when run directly from a local drive letter (e.g. > c:\Test\MyEXE.EXE) works just fine. However, if I share the folder that > the EXE is in and then attempt to run it through the share, it will fail > to start up. The share that I am trying to run it through is on the > computer that I am trying to run the app from (i.e. even though I am using > a share, only one computer is involved). I ran caspol.exe to see what > code groups the EXE was in and was surprised to see that it was in the > Internet group rather than the Intranet group. I tried the same thing on > some other computers and it worked as expected. So, long story short, one > of my computers seems to believe that its own shares are in the Internet > zone and not the Intranet zone. Does anyone know how the zone > determination is made or what might cause it to go awry? Thanks for your > help. > > Fran Parker > MaxQ Technologies, Inc. >
FullTrust on network drive
Unhandled exception vs handled (security issue) Kerberos Token Renewal Why am I getting errors when I want to rebuild the TreeView contro Login error when opening a deployed project Forms Authentication with Active Directory, login control crashes User creation.... Impersonation testing Is there a function that I can call to validate a domain? Security Exception |
|||||||||||||||||||||||