Testing the Methods and Properties That Should Be Protected

This fourth step for testing a secured assembly is the culmination of work for the first three steps:

1.
Define what is being protected as specifically as possible.
2.
Understand how resources are being protected.
3.
Test any custom permissions that are used to protect resources.

This step asks how well the assembly design was implemented in the secured assembly. To address this point, it is especially important that you have the list of methods and properties being protected from the first step.

To test the methods and properties that should be protected, there are two primary actions that must occur. First, the methods and properties should be checked to see if they implement ...

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.