You are here: Re: FormsAuthentication to PHP « All PHP « IT news, forums, messages
Re: FormsAuthentication to PHP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация