C
cryptic
I created a C# assembly with no security permissions, started it from a
mapped network drive and execute a file io algorithm - it fails with a
SecurityException (FileIOPermission). If I added a FileIOPermissionAttribute
and a ClickOnce Manifest, it fails with the same error. Next step was that I
execute the mscorcfg.msc and config the zonerights for the hole computer, the
result: it works. My question: If I create a assembly for a customer and they
will execute the asm from a mapped drive, it's really necessary that I give
the customer a *.msi package with full network rights or give it another way,
because it seems that the logical way not worked when the zonerights are not
setup.
Next: Has anybody a german article about this problem?
mapped network drive and execute a file io algorithm - it fails with a
SecurityException (FileIOPermission). If I added a FileIOPermissionAttribute
and a ClickOnce Manifest, it fails with the same error. Next step was that I
execute the mscorcfg.msc and config the zonerights for the hole computer, the
result: it works. My question: If I create a assembly for a customer and they
will execute the asm from a mapped drive, it's really necessary that I give
the customer a *.msi package with full network rights or give it another way,
because it seems that the logical way not worked when the zonerights are not
setup.
Next: Has anybody a german article about this problem?