多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.  You create an ASP.NET Web application using .NET Framework 4.0. The ASP.NET application is used to track employee performance. It uses Microsoft Windows authentication. Employees are members of a group named Employees.  Managers are members of a group named Managers.  The root folder of the application is named Details. The Details folder displays information about employees„ performance.  The Details folder has a subfolder named MoreDetails. You need to ensure that employees and managers can access pages stored in the Details folder. However, only managers can access pages stored in the MoreDetails folder.    You make the following entries in the Web.config file in the Details folder. You make the following entries in the Web.config file in the MoreDetails folder. When managers try to access pages stored in the MoreDetails folder, they receive the following error message:"An error occurred during the processing of a configuration file required to service this request." You must ensure that managers are able to access pages stored in the MoreDetails folder. What will you do to accomplish this?()

  • A、Add the following directive between line 1 and line 2 in the Web.config file in the MoreDetails folder:<identity impersonate="false" /> 
  • B、Modify line 4 in the Web.config file in the MoreDetails folder as follows:<allow users="*" />
  • C、Add the following directive between line 1 and line 2 in the Web.config file in the MoreDetails folder:<identity impersonate="true" /> 
  • D、Replace line 1 in the Web.config file in the MoreDetails folder with <authentication mode="Windows" />
  • E、Add the following directive between line 1 and line 2 in the Web.config file in the Details folder: <identity impersonate="true" /> 
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题