but in option 1, you have do compair the versions of the assemblies yourself to 
determine if a new version needs to be downloaded, unless of course you always 
download the assemblies.

-----Original Message-----
From: Craig Andera [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:13 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Code Access Security and Dowloaded
Assemblies


>
> * Dynamically retrieving an assembly from a web service as an
> array of bytes, then saving it to disk and running it with
> Assembly.LoadFrom() and a local path.
>
> * Downloading and running a "shadow copy" of an assembly using the
> Assembly.LoadFrom() method with a URI to a remote server.
>
> * Using the codeBases attribute in a configuration file to
> specify a remote computer URI for updates to an assembly.
>
> My thinking is that the zone evidence will change for the
> last two, but not the first one. Is this right?

Yep. The first one will run using the "MyComputer" zone, which gets
fulltrust. The other two will run from a different zone, depending on
the URL you're using.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to