Answers

Question and Answer:

  Home  MCSD.NET - 70-330 Exam

⟩ Suppose You develop an ASP.NET Web applicationfor Company?s intranet. The application accesses data that is stored in a Microsoft SQL Serverdatabase. The application authenticates users by using Windows authentication, and it hasimpersonation enabled. You configure database object permissions based on the identity of theuser of the application. You need to provide the user?s identity to the SQL Server database. Whatshould you do?A. Connect to the database by using the following connection string?Persists Security Info=False;Integrated Security=SSPI;database=ApplicationDB;server=DataServer;?B. Connect to the database by using the following connection string?User ID=ASPNET;Persist Security Info=False;Integrated Security=False;database=ApplicationDB;server=DataServer;?C. Develop a serviced component that wraps all database operations.Use COM+ role-based security to restrict access to database operations based on useridentity.D. Disable impersonation.

A. Connect to the database by using the following connection string

?Persists Security Info=False;Integrated Security=SSPI;

database=ApplicationDB;server=DataServer;?

 147 views

More Questions for you: