What are the features of .NET Security Mechanism?
.NET Security mechanism has two basic features: Code access security is evidence (the source of the assembly) oriented, which is linked with a particular assembly. It is either directly installed on the native machine or can be downloaded from the internet. Evidence is used by code access security to verify the permissions granted to the code. Other code can demand that calling code is granted a specified permission. Validation & Verification are the two tests performed by CLR when the assembly is loaded. During the validation process the CLR verifies the presence of metadata & CIL and also verifies for the validity of internal tables. By deploying a few algorithms the verification mechanism checks if the code does any thing that is ‘unsafe’.