Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
I want to create a user secure login application to authenticate users to my application. My question is creating it using database or in XML, which one is the best method to use? How can i go about this?
Thanks
Posted 7-Aug-12 2:17am
kingsoh365
Edited 16-Nov-12 23:43pm
v2
Comments
Wes Aday at 7-Aug-12 8:29am
   
The "best"? The best method is the one that fills your requirements. Based on the zero amount of information that you have provided, if you have 1 or 2 users then go XML. If you have 2500000 users then use a database.
Sergey Alexandrovich Kryukov at 7-Aug-12 15:11pm
   
OP should understand that your advice is very approximate. If you have 15 users but 2500000 of, well, something else, it won't hurt to add those users to the database as well... :-)
Of course, the question is not correct, hardly could be answered much better.
--SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Where you store them is a lot less important than what you store: If you are comfortable with XML, then use that. If you are happy with a database, (and you won't have to install SQL Server with each installation of your application) than use a database.
 
Much more improtant is to store the correct information - not a password, but a hash of the password. Have a look here, it might give you some ideas: Password Storage: How to do it.[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 589
1 OriginalGriff 379
2 CPallini 205
3 RyanDev 175
4 Sergey Alexandrovich Kryukov 160
0 OriginalGriff 5,689
1 Sergey Alexandrovich Kryukov 4,783
2 Peter Leow 2,954
3 Maciej Los 2,819
4 DamithSL 2,465


Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 17 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid