+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: What format should i use to save password?

  1. #1
    Lazy Bum micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky's Avatar
    Join Date
    Jul 2008
    Location
    India
    Posts
    683
    Blog Entries
    1
    Rep Power
    6

    What format should i use to save password?

    Hey fellas!
    I need to save user's password in a table.
    So whats the best way to save it in?

    RR advised me to use MD5, but i searched and found this article which says it can be hacked easily.
    Cracking MySQL's MD5() function ... within seconds

    Any ideas/advises??

    VS.NET 2005

    Micky

  2. #2
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    144
    Rep Power
    2

    Quote Originally Posted by micky View Post
    Hey fellas!
    I need to save user's password in a table.
    So whats the best way to save it in?

    RR advised me to use MD5, but i searched and found this article which says it can be hacked easily.
    Cracking MySQL's MD5() function ... within seconds

    Any ideas/advises??

    VS.NET 2005

    Micky
    Hey Micky,
    I always used to use md5(), haven't done much new php programming for a while now though so am not up to scratch with what is the best current method...however have you looked at the PHP: md5 - Manual page? There are some threads there talking about greater security...

    Also...what are you securing access too? and how likely are people to want to crack it..that is something in my mind you have to weigh up with the time/money spent on securing it...

    Just a thought, Let us know if you find something better

    Graham.
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

  3. #3
    Lazy Bum micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky's Avatar
    Join Date
    Jul 2008
    Location
    India
    Posts
    683
    Blog Entries
    1
    Rep Power
    6

    thanx RF, i'll have a look

  4. #4
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    144
    Rep Power
    2

    Quote Originally Posted by micky View Post
    thanx RF, i'll have a look
    no worries, although just reread your post and you say VS.Net2005...sorry I presumed you were using PHP! Not sure my link will help afterall. Oh I do try!
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

  5. #5
    Lazy Bum micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky's Avatar
    Join Date
    Jul 2008
    Location
    India
    Posts
    683
    Blog Entries
    1
    Rep Power
    6

    Quote Originally Posted by grae.uk View Post
    no worries, although just reread your post and you say VS.Net2005...sorry I presumed you were using PHP! Not sure my link will help afterall. Oh I do try!
    lol
    well the link might help, irrespective of development platrofm

  6. #6
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    144
    Rep Power
    2

    Quote Originally Posted by micky View Post
    lol
    well the link might help, irrespective of development platrofm
    Guess the logic should be the same.
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

  7. #7
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Washington, D.C.
    Posts
    2,347
    Blog Entries
    9
    Rep Power
    19

    Micky,

    This all shouldn't be taken with a grain of salt...or perhaps, it should

    I use SHA-1 with a password salt for extra security. I would look into going that route.
    jmurrayhead
    If you agree, give me rep. If my post helped you, click "Thanks".
    If you like it here...throw us a few bones to help support us.


  8. #8
    Lazy Bum micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky is a jewel in the rough micky's Avatar
    Join Date
    Jul 2008
    Location
    India
    Posts
    683
    Blog Entries
    1
    Rep Power
    6

    Quote Originally Posted by jmurrayhead View Post
    Micky,

    This all shouldn't be taken with a grain of salt...or perhaps, it should

    I use SHA-1 with a password salt for extra security. I would look into going that route.
    J, i searched and found this code!!
    can u have a look and see if thats what u mean and if i shud use it

    VB.NET Code Sample: Hashing Data

    MySql
    VS.NET 2005

  9. #9
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Washington, D.C.
    Posts
    2,347
    Blog Entries
    9
    Rep Power
    19

    It's a pretty good example, but not complete with information.

    I have a working sample at home that I won't mind sharing with you...just gotta give me about 10 hours :P
    jmurrayhead
    If you agree, give me rep. If my post helped you, click "Thanks".
    If you like it here...throw us a few bones to help support us.


  10. #10
    aka RF; RadioactiveFrog grae.uk will become famous soon enough grae.uk's Avatar
    Join Date
    Oct 2008
    Posts
    144
    Rep Power
    2

    Quote Originally Posted by jmurrayhead View Post
    It's a pretty good example, but not complete with information.

    I have a working sample at home that I won't mind sharing with you...just gotta give me about 10 hours :P
    10hours...man that is a long drive home
    “There are two theories to argueing with women. Neither of them work! ” - Unknown

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Salted Password Hash
    By jmurrayhead in forum .Net Code Samples
    Replies: 14
    Last Post: November 19th, 2009, 11:06 AM
  2. Date Format Suggestion
    By icoombs in forum Suggestions & Feedback
    Replies: 1
    Last Post: July 14th, 2008, 07:41 AM
  3. Password Protected Tabs
    By AOG123 in forum Access Database Samples
    Replies: 3
    Last Post: June 13th, 2008, 03:20 PM
  4. Print out data on a letterhead format
    By Shem in forum .Net Development
    Replies: 3
    Last Post: May 22nd, 2008, 09:15 AM
  5. format currency to display by thousands
    By Rebelle in forum ASP Development
    Replies: 2
    Last Post: April 29th, 2008, 10:32 PM

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

SEO by vBSEO