How does CAS works? Ans. There are two key concepts of CAS security policy- code groups and permissions. A code group contains assemblies in it in a manner that each .NET assembly is related to a particular code group and some permissions are granted to each code group. For example, using the default security policy, a control downloaded from a Web site belongs to the Zone, Internet code group, which adheres to the permissions defined by the named permission set. (Normally, the named permission set represents a very restrictive range of permissions.) Assembly execution involves the following steps: 1. Evidences are gathered about assembly. 2. Depending on the gathered evidences, the assembly is assigned to a code group. 3. Security rights are allocated to the assembly, depending on the code group. 4. Assembly runs as per the rights assigned to it. - Study24x7
Social learning Network
28 Apr 2023 01:25 PM study24x7 study24x7

How does CAS works? Ans. There are two key concepts of CAS security policy- code groups and permissions. A code group contains assemblies in it in a manner that each .NET assembly is related to a particular code group and some permissions are granted to each code group. For exam...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles