+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

.Net Code Security Interview Questions and Answers

1
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.

2
What is role-based security?

Role-based security is to verify the role and/or identity of the current Principal object.

3
Define the use of Caspol.exe.

It is DOS command to view and alter code access security policy.

4
Tell me the use of Caspol.exe?

It is DOS command to view and alter code access security policy.

5
Define declarative and imperative security.

Security checks can be applied imperatively or declaratively. Declarative security is applied by associating attribute declarations that specify a security action with classes or methods. Imperative security is applied by calling the appropriate methods of a Permission object that represents the Principal (for role-based security) or system resource (for code access security).

Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.
FOLLOW US