You need to ensure that unauthorized users do not have access to the administration
pages. Which approach should you recommend?
A.
Override the OnInit event of the Custom Page class, and then check whether the user
has access.
B.
Override the On Load event of the Custom Page class, and then check whether the user
has access.
C.
Check whether the user has access in the Page_Load method of every administration
page by using the User, lslnRole(”Admin”) method.
D.
Decorate the Custom Management Page class with the Principal Permission attribute,
demanding access for the Admin role.