FormDigest Control:
Every SharePoint developer should know
about the “FormDigest” control.
Especially who are developing master pages, site pages and application pages?
I am going to cover in which areas FormDigest control use:
- What is FormDigest Control?
- Why every master page should have “FormDigest” control and what is the need?
- The security validation for this page is invalid?
- When/where/why use "AllowUnsafeUpdates" in SharePoint?
- How to do manipulation to the SharePoint data programmatically?
What is FormDigest control?
A FormDigest
control has to be included to create a digest for security validations when performing some
modifications to SharePoint data. It adds a security token inside your
page based on user, site and time. Once the page is posted back the security
token is validated. Once the security token is generated it’s valid for a
configurable amount of time.