Hi,

I create a C# WinForms app (signed it with a keyfile), and placed it on a
web server.  From IE, I could run it successfully via
http://localhost/wintest/wintest.exe.  As expected, trying
http://127.0.0.1/wintest/wintest.exe generated a PolicyException, since its
within the "Internet Zone" - quoted from
http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/default.aspx:
"In release 1.0 of .NET, the Internet_Zone was associated with the Internet
permission set, but as of Service Pack 1 of the .NET runtime, code from the
Internet_Zone is associated with the Nothing permission set by default.
Someday Microsoft may loosen permissions on code from the Internet, but
until then they have decided to put security ahead of functionality"

I thus ran the .NET Framework Configuration tool, and using the "Trust
Assembly" wizard, gave http://127.0.0.1/wintest/wintest.exe "FullTrust".
Going back to IE and trying http://127.0.0.1/wintest/wintest.exe however
still gave me a PolicyException. Anyone have an idea what else I have to do
to make the WinForm run in IE ?

Later

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