Avatar of doramail05
doramail05Flag for Malaysia

asked on 

Decrypt for password with formsauthentication

with the article
http://www.devasp.net/net/articles/display/247.html

it uses FormsAuthentication.HashPasswordForStoringInConfigFile
to encrypt password,
but to decrypt it,
i attempt to use

FormsAuthenticationTicket faticket = FormsAuthentication.Decrypt(txtShowValue.Text);
lblresults.Text = faticket.Name.ToString();

getting the error : Unable to validate data
ASP.NETC#

Avatar of undefined
Last Comment
doramail05
Avatar of rajvja
rajvja
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER CERTIFIED SOLUTION
Avatar of Umar Topia
Umar Topia
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of doramail05
doramail05
Flag of Malaysia image

ASKER

i guess most of the post were saying unable to decrypt else security breach.
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo