I looked through this link to understand CodeAccessSecurity:
http://www.codeproject.com/KB/security/UB_CAS_NET.aspx
This is a great article, but it left me with the following questions:
If you can request and get all the necessary permissions, then any executable file can get Full_Trust on the machine. If there are already permissions, then why do we need them?
The code is executed on the server, so the permissions are not on the client machine on the server?
This article provides an example of removing write permissions from an assembly to display a security exception. Although in the real world, the System.IO assembly (or related classes) will take care of these permissions. So is there a real scenario where we need CAS?
source
share