O'Reilly logo

.NET Framework Security by Kevin T. Price, Rudi Martin, Matthew Lyons, Sebastian Lange, Brian A. LaMacchia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PE File Format and Metadata Validation

Any assembly is heavily scrutinized before any contained code makes it to execution. Not only must assemblies have the necessary permissions to access resources, they must also pass a set of rigorous checks to successfully run. One set of these checks is referred to as validation. Validation encompasses three major sets of tests:

  • PE file format validation

  • Metadata validation

  • IL validation

These checks ensure that IL verification can be carried out successfully and, ultimately, assemblies can be run within strictly enforced security constrains. All sets of tests introduced in this chapter, including PE file format validation checks, need to be met for an assembly to run in a safe manner on the Common Language ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required