Chapter 9. Security for Pages and Compilation

A good deal of writing a secure page depends on often-discussed topics such as input validation, handling malicious input, preventing SQL injection attacks, and so on. However, ASP.NET provides some lesser known configurable security features that add a degree of extra security to your pages. This chapter will review some security features for pages and compilation that have been around since ASP.NET 1.1, as well as security features in ASP.NET 2.0 and ASP.NET 3.5.

The topics that will be covered include:

  • Request validation and viewstate protection.

  • Options for securing page compilation.

  • Protecting against fraudulent postbacks.

  • Site navigation security.

Get Professional ASP.NET 3.5 Security, Membership, and Role Management with C# and VB 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.