Results 1 to 3 of 3

Thread: Active Directory Password migration SQL DB and validation

  1. #1
    Join Date
    Mar 2012
    Posts
    2

    Active Directory Password migration SQL DB and validation

    Hello All,

    We are moving away from Active directory to store user credentials and instead would like to store in a SQL database. I assume we can simply migrate the one way encrypted passwords from AD to SQL database but we don't know how we can validate the user's password, what algorithm (SHA1?) and salt we need to use to validate these passwords?

  2. #2
    Join Date
    Dec 2007
    Posts
    2,291

    Re: Active Directory Password migration SQL DB and validation

    You never really need to know the user's password. You just want to verify an incoming user knows the password for an account.
    Hash It: Store user passwords hashed (one-way encryption) -- via MD5, or strong hash like SHA1. A search for "c# encrypt passwords" gives a load of examples. See the online SHA1 hash creator for an idea of what a hash function produces by searching it on google.

  3. #3
    Join Date
    Mar 2012
    Posts
    2

    Re: Active Directory Password migration SQL DB and validation

    Yes, I understand what you explained, which is what we do with password in web-apps. My question is what you for the hashes which are extracted from AD, what algorithm you use to validate the credentials? what salt you will be using?

Similar Threads

  1. Setting Active Directory Domain Controller password
    By Nathen in forum Tips & Tweaks
    Replies: 1
    Last Post: 16-05-2011, 08:39 PM
  2. Need help to set Active Directory Domain Controller password
    By LukeWarm in forum Networking & Security
    Replies: 5
    Last Post: 10-05-2011, 08:01 AM
  3. Replies: 1
    Last Post: 10-02-2011, 12:14 AM
  4. 2008 Active Directory Migration to new hardware
    By ChrisAFC in forum Windows Software
    Replies: 2
    Last Post: 08-01-2010, 02:25 PM
  5. Replies: 3
    Last Post: 01-07-2009, 03:46 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,638,691.70873 seconds with 16 queries