Summary

In this chapter, you've learned that hosting is a technique whereby your trusted code can load and control other assemblies. This has a very practical application from the security standpoint because hosting can, through the use of isolation and more tightly controlled policy, effectively augment the basic .NET Framework security system. That is, hosts can use information not normally available to the .NET Framework to more closely tailor the security environment available to the hosted components, leading to a more secure system without compromising on flexibility.

The key points we touched on are as follows:

  • The chief tool the .NET Framework provides to assist hosting is the appdomain. Use of appdomains allows software components to ...

Get .NET Framework Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.