FormsProtectionEnum

FormsProtectionEnumserializable

System.Web.Configuration (system.web.dll)enum

This enumeration specifies how ASP.NET protects the Forms Authentication cookie. It is not used in ASP.NET code, but in the web.config file by the protection attribute of the forms element (for example, <forms name="name" loginUrl="url" protection="None ">). Encryption uses Triple-DES or DES to encode the cookie before it is transmitted. Validation verifies the cookie hasn't been altered in transit by appending a validation key and then a Message Authentication Code (MAC) to the cookie.

public enum FormsProtectionEnum {    All = 0,    None = 1,    Encryption = 2,    Validation = 3 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) FormsProtectionEnum



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net