SharePoint Best Practices: Form Digest in ASP .Net Pages within SharePoint

Written by: Lee Kohn

If you ever find yourself modifying data within SharePoint using custom ASP .Net pages, you will undoubtedly have run into errors regarding the pages security validation being invalid.  Rather than disabling security validation, which can leave your pages open to XSS attacks, follow the recommendations in the following blog post regarding using the FormDigest tag