Microsoft
70-519 · Question #30
You need to ensure that unauthorized users do not have access to the administration pages. Which approach should you recommend?
The correct answer is D. Decorate the Custom Management Page class with the Principal Permission attribute. See the full explanation below for the reasoning.
Question
You need to ensure that unauthorized users do not have access to the administration pages. Which approach should you recommend?
Options
- ACheck whether the user has access in the Page_Load method of every administration page
- BOverride the OnInit event of the Custom Page class, and then check whether the user has
- COverride the On Load event of the Custom Page class, and then check whether the user has
- DDecorate the Custom Management Page class with the Principal Permission attribute,
How the community answered
(27 responses)- A11% (3)
- B4% (1)
- C4% (1)
- D81% (22)
Community Discussion
No community discussion yet for this question.