You have developed a Windows application by using Microsoft .NET Framework 4, Windows Presentation Foundation (WPF), and Microsoft SQL Server 2008. The application is deployed as an XAML Browser Application (XBAP) and executes in the Internet Zone in Internet Explorer. The application updates data in a SQL Server 2008 database. Users report that a SecurityException exception occurs when the application attempts to save data to the database. You need to design a solution to resolve the problem. What should you do?
A.
Redesign the XBAP application by using partial trust.
B.
Redesign the XBAP code to utilize stored procedures.
C.
Design a WCF Service tier to provide database access.
D.
Design a data access layer that uses ASP.NET Entity Framework to communicate with the database by using the System.Data.SqlClient class.