R
Roland Dick
Hi,
I have a problem executing a managed application from a server's share -
hopefully, someone can give me a hint. The application and all DLLs are
signed with a key, therefore have a strong name.
Now, I was assuming that if I create a code group under the
"Organization" level with that strong name as criterium and the
FullTrust permission set, my assemblies should be able to access all
ressources (including reflection which is causing all the trouble); but
when executing the application, I get a SecurityException. I tried
setting that policy to LevelFinal and Exclusive, but still that nasty
SecurityExceptions keep popping up. The only way I found to make it work
is when I set the LocalIntranet zone security setting to the highest
level. But of course, customers will not be wanting to grant full access
to just any assembly on the intranet.
Therefore, my questions are:
1. How does the zone security setting affect the runtime policies?
2. How can I grant my application FullTrust permission set, but only my
application?
Thanks for any hints on this!
Roland
I have a problem executing a managed application from a server's share -
hopefully, someone can give me a hint. The application and all DLLs are
signed with a key, therefore have a strong name.
Now, I was assuming that if I create a code group under the
"Organization" level with that strong name as criterium and the
FullTrust permission set, my assemblies should be able to access all
ressources (including reflection which is causing all the trouble); but
when executing the application, I get a SecurityException. I tried
setting that policy to LevelFinal and Exclusive, but still that nasty
SecurityExceptions keep popping up. The only way I found to make it work
is when I set the LocalIntranet zone security setting to the highest
level. But of course, customers will not be wanting to grant full access
to just any assembly on the intranet.
Therefore, my questions are:
1. How does the zone security setting affect the runtime policies?
2. How can I grant my application FullTrust permission set, but only my
application?
Thanks for any hints on this!
Roland