Dot Net Code Security Question:
Download Questions PDF

Do you know Principal object?

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?