Pedro Dias
7/14/2002 7:02:00 PM
Hello,
I am having the following problem:
I have two different classes: A and B.
Class A has a method that creates a FileIOPermission and
uses the Deny method of that permission in order to deny
any access to the local file system.
Then Class A calls Class B.
The problem is that I wanted Class B to be also prevented
from accessing the local file system.
But that seems impossible since Class B can also create a
similar permission and then use its Assert method.
Is there any chance that a Class, lower in the call-stack
(class B), be prevented from overriding a permission that
was set by a higher class in that call-stack (class A)?
Thank you very much,
Pedro Dias.