I have a WinForm control hosted in IE. I've set up a JavaScript event
handler to close the window if a button in the control is clicked. I
have a permission set which grants my assembly execute permission for
unmanaged assemblies and I have created a Machine Code Group which
uses the permissions.

The problem is that if I set the membership condition on the code
group to Strong Name I get a PermissionException when executing the
JavaScript event handler, but if I set the permission to Zone and then
set the Zone to Local Intranet the code executes and does not throw
the exception.

Any ideas as to why that would be?

Shane