Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Reading/Decrypting ASP.Net auth cookie from ASP

Thread Tools

Reading/Decrypting ASP.Net auth cookie from ASP

Posts: n/a
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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to log out of app using Windows Auth NOT Forms Auth Ed Staffin ASP .Net Security 1 04-17-2006 09:22 AM
Windows Auth, but Forms Auth for one page? =?Utf-8?B?ZGhucml2ZXJzaWRl?= ASP .Net 1 01-08-2005 05:50 PM
Configuring Windows Auth & Forms Auth in Asp.Net Chris Mohan ASP .Net Security 2 04-29-2004 06:46 AM
Configuring Windows Auth & Forms Auth in Asp.Net =?Utf-8?B?Q2hyaXMgTW9oYW4=?= ASP .Net 0 04-28-2004 06:11 PM
container-auth vs servlet-auth role-checking? Mark Chai Java 1 10-01-2003 06:30 PM