试题详情
多项选择题You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.If Page.User.Identity.Name <> "CONTOSO/Administrator" Then Response.Redirect("login.aspx")End IfYou are logged on as Administrator. When you display the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()

A、In the Web.config file, enable impersonation.

B、In IIS, enable anonymous access.

C、In IIS, disable anonymous access.

D、In the Web.config file, set the authentication mode to Windows.

  • C,D
  • 关注下方微信公众号,在线模考后查看

热门试题