Code access security is more of a feature that .NET uses to conform to the security model. The security model itself is a loosely defined term for general security concepts .
For example, role-based security or role-based access control is a security model for determining access to a resource based on a user role. Although, this is just a small part of the entire security component that needs to be considered as part of the development. This can be a big help:
http://msdn.microsoft.com/en-us/security/default.aspx
But you can also explore more generalized security concepts, such as Comptia Security + certification for beginners and CISSP through ISC2, for more advanced security knowledge for a heuristic approach to security.
source share