Prohibit interception

Topics: Enterprise Library Core, Policy Injection Application Block
Jul 28, 2011 at 3: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.

Matt

Jul 29, 2011 at 3:20 AM

Hi,

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