Dot Net Code Security Question:

Do you know Principal object?

Tweet Share WhatsApp

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 PDF Read All 10 .Net code security Questions
Previous QuestionNext Question
Do you know role-based and code based security?Explain code security types?