Dot Net Code Security Question:

Download Job Interview Questions and Answers PDF

Do you know Principal object?

.Net code security Interview Question
.Net code security Interview Question

Answer:

The Principal object represents authenticated users. It contains information about user’s identity and role. You have PrincipalPermission object in .Framework that specifies user and its role. It has Demand method that checks the current user or Principal against the name and role specified in the PrincipalPermission.

Download .Net code security Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know role-based and code based security?Explain code security types?