Prohibit interception

Topics: Enterprise Library Core, Policy Injection Application Block
Jul 28, 2011 at 4:36 PM

How can I prohibit users from adding interception to my application?

By adding the appropriate section to the config file, and providing a dll, users can intercept internal calls in the application - this could cause security issues.

How can I stop them doing this? E.G preventing, removing, or failing fast if I discover it has been done.


Jul 29, 2011 at 4:20 AM


The only way I can think for this scenario is by moving your policy injection settings inside your application so that users can't modify that part. You need to use Unity with Interception to achieve that. For more details kindly refer to this link.


Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us