Password Authentication ? [modified]
-
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
-
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
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?
-
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
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