Reading/Decrypting ASP.Net auth cookie from ASP

O

OTS

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top