|
Posted by Jerry Stuckle on 09/20/06 16:44
Kim André Akerø wrote:
> I'm trying to make my PHP scripts communicate with a ASP.NET based
> authentication solution.
>
> I have $_COOKIE["FormsAuth"], but it's encrypted using the
> FormsAuthentication.Encrypt method.
>
> This is the example code showing the encryption:
> http://dev.bd0.net/test/formsauth.txt
>
> Is there a way to decrypt this cookie using PHP?
>
> Here's an overview of FormsAuthentication methods in ASP.NET for those
> who are curious:
> <http://msdn2.microsoft.com/en-us/library/system.web.security.formsauthe
> ntication_methods.aspx>
>
Hi, Kim,
If you knew the algorithm they used for doing the encryption you could.
But without that you don't stand much chance. And unfortunately, I
don't seen any of the gory details on that page.
I did a quick google search to see if I could come up with anything
about how they do it, but didn't find anything. I guess someone would
have to reverse engineer the code - which would be difficult, but not
impossible.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|