InterviewSolution
| 1. |
How Does Cas Work? |
|
Answer» The CAS security policy revolves around two key concepts - code groups and permissions. Each .NET assembly is a member of a PARTICULAR code group, and each code group is granted the permissions specified in a named PERMISSION set. 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 'Internet' named permission set. (Naturally the 'Internet' named permission set represents a very restrictive range of permissions.) The CAS security policy revolves around two key concepts - code groups and permissions. Each .NET assembly is a member of a particular code group, and each code group is granted the permissions specified in a named permission set. 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 'Internet' named permission set. (Naturally the 'Internet' named permission set represents a very restrictive range of permissions.) |
|