Back to results
US 7,549,045 B2Granted
Delegate registration in a managed code execution environment
AssigneeMicrosoft Corporation
InventorsDavide Massarenti, Donald R. Thompson
Life of this patent
Estimating the term…
Abstract
A runtime execution environment may implement code access security by annotating a delegate to a publisher with a list of potential callers to the publisher. If a permission verification process for at least the listed potential callers results in even one indication of no trust, an exception may be thrown.
Claims13
A method, comprising:
- in response to a publisher invoking a delegate that is populated with a property of a target method and that identifies another delegate that is a potential caller of the target method,
- verifying permissions for the delegate and the potential caller against subscriptions to the publisher;
- executing the target method if all permission verifications for the delegate and the potential caller are positive;
- and
- preventing execution of the target method if any of the permission verifications is negative.
2 more elements
A computer-readable storage medium having one or more computer-executable instructions stored thereon that, when executed, cause one or more processors to:
- in response to a publisher's invocation of a delegate that stores a target method property and is annotated with a list of potential callers of the target method, at least one of the potential callers being another delegate,
- verify permissions for the delegate and the potential callers against subscriptions to the publisher;
- execute the target method if all permission verifications for the delegate and the potential callers are positive;
- and
- prevent execution of the target method if any of the permission verifications is negative.
2 more elements
A computing device comprising a processor and a computer readable storage medium,
- the computing device being configured to, in response to a publisher invoking a delegate that is populated with a property of a target method and that identifies another delegate that is a potential caller of the target method,
- verify permissions for the delegate and the potential caller against subscriptions to the publisher;
- execute the target method if all permission verifications for the delegate and the potential caller are positive;
- and
- prevent execution of the target method if any of the permission verifications is negative.
2 more elements
Dependencies are inferred from the claim text.