Declares that the calling code can access the resource protected by a permission demand through the code that calls this method, even if callers higher in the stack have not been granted permission to access the resource. Using Assert can create security issues.
(inherited from
CodeAccessPermission)

Prevents callers higher in the call stack from using the code that calls this method to access all resources except for the resource specified by the current instance.
(inherited from
CodeAccessPermission)