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. General Programming
  3. C#
  4. Password Authentication ? [modified]

Password Authentication ? [modified]

Scheduled Pinned Locked Moved C#
databasesecurityhelpquestion
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.
  • A Offline
    A Offline
    Ahmad_kaau
    wrote on last edited by
    #1

    hello again :) now i have an application to ( login ) using a username and a password .... all usernames and passwords are stored in a database ( microsoft access ) can someone help me with the source code to verify the username and its password or give me a webpage explain it thank you -- modified at 10:14 Saturday 18th November, 2006

    W B 2 Replies Last reply
    0
    • A Ahmad_kaau

      hello again :) now i have an application to ( login ) using a username and a password .... all usernames and passwords are stored in a database ( microsoft access ) can someone help me with the source code to verify the username and its password or give me a webpage explain it thank you -- modified at 10:14 Saturday 18th November, 2006

      W Offline
      W Offline
      WillemM
      wrote on last edited by
      #2

      I can give you some general directions: Check out tutorials for ADO.NET to learn more on connecting to the access database. There are quite a few articles on the subject, so it should be pretty simple to get started.

      WM. What about weapons of mass-construction?

      1 Reply Last reply
      0
      • A Ahmad_kaau

        hello again :) now i have an application to ( login ) using a username and a password .... all usernames and passwords are stored in a database ( microsoft access ) can someone help me with the source code to verify the username and its password or give me a webpage explain it thank you -- modified at 10:14 Saturday 18th November, 2006

        B Offline
        B Offline
        beatles1692
        wrote on last edited by
        #3

        Hi If you like to use a database (for example access) to store usernames and passwords ,you can encrypt passwords so if someone has direct access to database can't use them.Then when a use wants to login get his/her password encrypt it(using the same encryption method for stored passwords) and compare it with the encrpyted password(For security reasons it's better to encrypt the provided password rather than decrypting the stored one) If you like to prevent people accessing the database itself you should make it password protected ( an access database has two kind of authentication , you can provide a password for admin user or you can provide a password for the database itself.By defining a password for admin user you are defining a password for the access application not your database it means that if you want to open any database using your access application you should provide the admin password. If you set a password for you database then the database is password protected and even if somebody gets a copy of it he/she can't open it unless he/she knows the password. Regards

        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