What is code security? What are the types? - .Net Code Security

What is code security? What are the types?

Framework provides the security features to secure code from unauthorized users and unauthorized uses.

There are two types of code security:

Role based security: This authorizes user.

Code access security: This protects system resources from unauthorized calls.
Define Principal object - .Net Code Security
.Net Code Security - The Principal object represents authenticated users. It contains information about user’s identity and role.....
Define declarative and imperative security - .Net Code Security
.Net Code Security - Security checks can be applied imperatively or declaratively. Declarative security is applied by associating attribute declarations...
Define role-based security - .Net Code Security
.Net Code Security - Role-based security is to verify the role and/or identity of the current Principal object......
Post your comment