Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Decrypt for password with formsauthentication

Posted on 2010-11-09
3
Medium Priority
?
2,196 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:doramail05
3 Comments
 
LVL 11

Expert Comment

by:rajvja
ID: 34091079
0
 
LVL 10

Accepted Solution

by:
Umar Topia earned 2000 total points
ID: 34091152
0
 
LVL 1

Author Comment

by:doramail05
ID: 34091247
i guess most of the post were saying unable to decrypt else security breach.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question