Reading/Decrypting ASP.Net auth cookie from ASP

Discussion in 'ASP .Net Security' started by OTS, Mar 5, 2004.

  1. OTS

    OTS Guest

    I have mixed ASP & ASP.Net sites. I want to read an encrypted
    FormsAuthenticationTicket from an ASP page (I already have multiple ASP.Net
    apps reading the tickets).

    Given the information from the <machineKey> section of web.config, what are
    the steps to decrypt the cookie? I would like to access the userinfo data in
    the ticket.

    I have a C++ component that grabs the cookie, the question is whether to do
    the decryption there or somehow call into a managed library and use the
    managed decryption (if I can get the proper machineKey context loaded).

    Thanks in advance
     
    OTS, Mar 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Q2hyaXMgTW9oYW4=?=

    Configuring Windows Auth & Forms Auth in Asp.Net

    =?Utf-8?B?Q2hyaXMgTW9oYW4=?=, Apr 28, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    760
    =?Utf-8?B?Q2hyaXMgTW9oYW4=?=
    Apr 28, 2004
  2. =?Utf-8?B?ZGhucml2ZXJzaWRl?=

    Windows Auth, but Forms Auth for one page?

    =?Utf-8?B?ZGhucml2ZXJzaWRl?=, Jan 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    611
    Elton Wang
    Jan 8, 2005
  3. Mark Chai
    Replies:
    1
    Views:
    754
    Christophe Vanfleteren
    Oct 1, 2003
  4. Chris Mohan

    Configuring Windows Auth & Forms Auth in Asp.Net

    Chris Mohan, Apr 28, 2004, in forum: ASP .Net Security
    Replies:
    2
    Views:
    476
    Chris Mohan
    Apr 29, 2004
  5. Ed Staffin
    Replies:
    1
    Views:
    399
    Ken Schaefer
    Apr 17, 2006
Loading...

Share This Page