Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Getting PasswordGetting Password
Previous
 
Next
New Post
1/16/2008 12:46 AM
 

 

 

We are trying to build a admin desktop application - has to do with integrating some legacy apps into our DNN apps - we were wanting to do something very easy or so we thought and that was allowing a desktop user to retrieve a users password - after looking at the Send Password in DNN it seems there is a *magical* hapening that transforms the password from its hashed state to a readable state

How is that done?  I was playing with integrating the System.Web.Security namespace into a desktop app but it doesnt seem to like that - any ideas, readings, suggestions?

 

Thanks!!!


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
1/16/2008 1:43 AM
 

I figure the password is not hashed as I can retrieve it and the Membership provider says it is encrypted not hashed - it also says it is 3DES and I have a class that will decrypt 3DES but what is the KEY and IV - where in DNN are they - I see the decryption key in the machinekey for the web.config and in the hsot settings table there is a EncryptionKey but not sure those are it or what

Anybody help on this one?


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
1/16/2008 10:29 PM
 

You can get the password using IWEB.  The web service method GetUser(ByVal Username As String) will let your desktop app get the UserInfo class containing the password. 


Fuji Nguyen
FREE Visitor Hit Counter
Visit opensource.indyneinc.com for detail.
 
New Post
1/17/2008 11:18 AM
 

I would agree that IWeb is your best bet if working in a windows app, if you are working inside of DNN you can simply use the GetUser method directly!


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/17/2008 12:34 PM
 

Dylan, if you download IWeb and then download the IWeb Core Connector (Source) you will have the code you need. We even have the Core Connector source in VB and C#. This should save you a lot of time.

You can also browse the code online at:

http://www.codeplex.com/IWeb/SourceControl/DirectoryView.aspx?SourcePath=%24%2fIWeb%2fApplications%2fIWeb%20Core%20Connector&changeSetId=5982



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Getting PasswordGetting Password


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out