Securing the Application

The second layer to which security should be applied is the application itself. Typically, this security includes the concepts of authentication, data protection, and user input.

Authentication

Throughout this book we've highlighted the various ways that a Compact Framework application can connect to back-end data. The primary mechanisms include the following:

  • Invoking SqlClient directly: This option was discussed in Chapter 4 and involves directly connecting to a remote SQL Server using the SqlClient .NET data provider.

  • SQLCE connectivity: Both RDA and merge replication use the SQLCE connectivity architecture described in Chapter 7.

  • XML Web Services: In Chapter 4 we discussed calling XML Web Services from the Compact ...

Get Building Solutions with the Microsoft .NET Compact Framework: Architecture and Best Practices for Mobile Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.