Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2005
    Posts
    36

    Unanswered: Need help with passwords

    hey guyz
    in the database, is there anyway to chnage the password field to * instead of showing what is inside?

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Not in the database. The display format of data belongs within the scope of the interface.

    It is recommended that passwords be encrypted prior to storing them in the database.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  3. #3
    Join Date
    Feb 2005
    Posts
    36
    how do you encrypt the data using vb.net and how do you uncrypt it?

  4. #4
    Join Date
    Feb 2005
    Location
    Germany
    Posts
    3
    That is simple, use an SHA1 checksum for saving in the Database and then compare it with the one which was entered for the Application

  5. #5
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    You should not need to unencrypt it. Passwords can normally be stored using one-way encryption. When the user resubmits his password, encrypt it use the same algorithm and compare it to the encrypted value stored in the database. If they match, then open the doors.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  6. #6
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    I reccomend obtaining a 3rd party compnonent that uses "public-key" encryption. Supposedly .Net has it's own built in encryption class but I am not sure how good it is. Do some research and maybe make a post in the .Net forum.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •