protection="None" not working...

From: Jason (jasonnewyork@msn.com)
Date: 12/15/02


From: "Jason" <jasonnewyork@msn.com>
Date: Sun, 15 Dec 2002 11:59:15 -0500


I would like to test protection="None" and protection="Validation" settings
in the web.config file, however, after making these changes the data in the
cookies still appears to be encrypted.

When using these settings I have assumed that the
FormsAuthentication.Encrypt(ticket) method should still be used to perform
the actual serialization of the ticket to a string that can be included
within the cookie. I assume (but can't find it documented) that the .Encrypt
method will utilize the Protection setting within the global.inc file to
determine how (or if at all) to encrypt the data... I am guessing its task
is to simply be able to create a string that the .Decrypt method will be
able to use for deserialization of the data back into a ticket object.

Thanks

Jason



Relevant Pages

  • Need to encrypt a string and store it in aN XML File.
    ... I store a users SMTP UserName and Password in a settings class, ... serialized to an XML Settings File. ... I need to encrypt the password string in some manner. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: 2007 User Level Security
    ... encrypted string. ... the way I use it is to encrypt user names and passwords and store the ... Dim prp As Property ... Dim dbs As Object, prp As Variant ...
    (microsoft.public.access.modulesdaovba)
  • Re: Workable encryption in Tcl??
    ... The longest string would be about the length ... How to encrypt a string ... nothing about binary formats. ... ># Perform ECB mode encryption on a plaintext block of BINARY data. ...
    (comp.lang.tcl)
  • RE: Using Win32 CryptDecrypt to Decrypt RijndaelManaged
    ... I figured out how to use RijndaelManaged with AES in the C++ app. ... C++ crypto WILL successfully decrypt the .NET generated ... I am trying to write a Win32 app that can decrypt that string using the ... I can get both to encrypt and decrypt successfully in their own projects, ...
    (microsoft.public.platformsdk.security)
  • Re: Decryptionfailed to bring original text back....
    ... cryptography, but now using them on web.config, any idea, I like to ... There isn't really much reason to encrypt a .NET string with ... what happen when you decrypt the encrypted ...
    (microsoft.public.dotnet.security)