The Highest Post






=
Statistics
Count 94
Avg 21.00
Min 21
Max 21

Details



Jessy Suvan Q #18) Explain CAS (Code Access Security). Ans: .Net provides a security model that prevents unauthorized access to resources. CAS is a part of that security model. CAS is present in the CLR. It enables the users to set permissions at a granular level for the code. CLR then executes the code depending on the available permissions. CAS can be applied only to the managed code. Unmanaged code runs without CAS. If CAS is used on assemblies, then the assembly is treated as partially trusted. Such assemblies must undergo checks every time when it tries to access a resource.
Post Reply