可学答题网 > 问答 > MCTS(70-528)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are developing a Web application.


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.
参考答案
参考解析:
分类:MCTS(70-528)题库
相关推荐

1、You develop a Web application that con

You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the app...

2、You are developing WPF application fo

You are developing WPF application for managing student information... btnSort and a DataGrid control named dgStudents on the design surface of ...

3、You are developing a Web control. The

You are developing a Web control. The Web control captures user address information in a Web application. You create a class named AddressContr...

4、You develop a Web application that wri

You develop a Web application that writes data to a file on a server. You restrict access to the file to specific Windows users. The Web ap...

5、You develop a Web application that co

You develop a Web application that contains two master pages.You need to dynamically set the master page when a user views pages in the appli...

6、You are creating a Web application th

You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside i...