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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.