Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to store a password field in the SQL database?

How to store a password field in the SQL database?

Scheduled Pinned Locked Moved ASP.NET
databasetutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Ming Luo
    wrote on last edited by
    #1

    Hi all: I need to make a administrator to cope with the login stuffs. Is there any good way to store the password in the database please? Thanks in advance Asura

    B S 2 Replies Last reply
    0
    • M Ming Luo

      Hi all: I need to make a administrator to cope with the login stuffs. Is there any good way to store the password in the database please? Thanks in advance Asura

      B Offline
      B Offline
      benqazou
      wrote on last edited by
      #2

      Hey, Here are some tips for a better password management: 1-Access to the user table (at least) should be very limited! 2-Do never store passwords as they are in the database; just store their hashes (or digest) (Look for md5 and c# for example in Google) Good luck

      1 Reply Last reply
      0
      • M Ming Luo

        Hi all: I need to make a administrator to cope with the login stuffs. Is there any good way to store the password in the database please? Thanks in advance Asura

        S Offline
        S Offline
        Suseel kumar P
        wrote on last edited by
        #3

        In .NET there are 2 mechanisms to store the password in encrypted format. They are SHA Algorithm and MD5 Algorithms. You can use any one of this. It will store the password encrypted in database. It is very easy in .NET. Try that. Suseel Kumar suseel_p@rediffmail.com -- modified at 7:08 Wednesday 29th March, 2006

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups