.NET Framework 1.1
Specifies the forms protection method that the application uses.
[Visual Basic] <Serializable> Public Enum FormsProtectionEnum [C#] [Serializable] public enum FormsProtectionEnum [C++] [Serializable] __value public enum FormsProtectionEnum [JScript] public Serializable enum FormsProtectionEnum
|All||Specifies that the application uses both data validation and encryption to help protect cookies. This option uses the configured data validation algorithm (based on the <machineKey> element). Triple-DES (3DES) is used for encryption, if it is available and if the key is at least 48 bytes longs. All is the default (and recommended) value.|
|Encryption||Specifies that cookies are encrypted using Triple-DES or DES, but data validation is not performed on cookies. Cookies used this way might be subject to chosen plain-text security attacks.|
|Validation||Specifies that the application uses a validation scheme to verify that the contents of an encrypted cookie have not been altered in transit. The cookie is created by concatenating a validation key with the cookie data, computing a Message Authentication Code (MAC), and appending the MAC to the outgoing cookie.|
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
Assembly: System.Web (in System.Web.dll)