Jeff Roberts wrote:

> why would a Environment.ExpandEnvironmentVariables call throw an exception
> while being executed out of the Intranet security zone ?

Because it can be used to reveal sensitive details of the machine. Imagine
letting anybody expand "windir", "PATH", or "ComSpec" and you can see why
it's a security risk.

Brad

--
Read my web log at http://www.quality.nu/dotnetguy/

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