单项选择题
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.
You use Windows Authentication for the application. You set up NTFS file system permissions for the Sales group to access a particular file. You discover that all the users are able to access the file.
You need to ensure that only the Sales group users can access the file.
What additional step should you perform?()
A.Remove the rights from the ASP.NET user to the file.
B.Remove the rights from the application pool identity to the file.
C.Add the <identity impersonate="true"/> section to the Web.config file.
D.Add the <authentication mode="[None]"> section to the Web.config file.
相关考题
-
单项选择题
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5. The computer that hosts the ASP.NET Web application contains a local instance of Microsoft SQL Server 2005. The instance uses Windows Authentication. You plan to configure the membership providers and the role management providers. You need to install the database elements for both the providers on the local computer. What should you do?()
A.Run the sqlcmd.exe -S localhost E command from the command line.
B.Run the aspnet_regiis.exe -s localhost command from the command line.
C.Run the sqlmetal.exe /server:localhost command from the command line.
D.Run the aspnet_regsql.exe -E -S localhost -A mr command from the command line. -
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a class that implements the IHttpHandler interface. You implement the ProcessRequest method by using the following code segment: 01 public void ProcessRequest(HttpContext ctx) { 02 03 } You need to ensure that the image named Alert.jpg is displayed in the browser when the handler is requested. Which code segment should you insert at line 02?()
A.A
B.B
C.C
D.D -
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You write the following code segment to create a class named MultimediaDownloader that implements the IHttpHandler interface: namespace Contoso.Web.UI { public class MultimediaDownloader : IHttpHandler { // ... } } The MultimediaDownloader class performs the following tasks: it returns the content of the multimedia files from the Web server it processes requests for the files that have the .media file extension The .media file extension is mapped to the aspnet_isapi.dll file in Microsoft IIS 6.0. You need to configure the MultimediaDownloader class in the Web.config file of the application. Which code fragment should you use? ()
A.A
B.B
C.C
D.D
