Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Decrypt for password with formsauthentication

Posted on 2010-11-09
3
Medium Priority
?
2,148 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

660 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