|
-
Nov 12th, 2001, 10:16 PM
#1
Thread Starter
Junior Member
Storing User Name and Password
I working with a team of other students on one of our final projects before we graduate. Our project is to create an application for a Car Dealership and will entail all departments of the dealership. My first step is to create a form that will allow the user to log in and depending on their status, will limit their access to certain information being stored on the database. My question is this: Is it better to store user name, password and other information in a database (Oracle 8), or creating an array in VB. I have 2 months to write this application, so it's kinda urgent. Thanks
-
Nov 12th, 2001, 10:26 PM
#2
Member
it is good practice to store all of the user information in the database itself. with that u can even store access level and other user accessibility level with the user name and password. like if the perticular user can access perticular screen or not.
Firoz
-
Nov 12th, 2001, 10:27 PM
#3
Frenzied Member
Couldnt you just put them in an access database and then query it everytime? Cause Access Databases are quite simple in VB. Theres an example on VB-W.
You just proved that sig advertisements work.
-
Nov 12th, 2001, 10:31 PM
#4
Addicted Member
Go with the database solution, the array would either be written to a ini file on a PC or hardwired in your code. The database option would allow you to have many different workstations jacked into the data with only one point of update on your logins. With the ini file you would have to update each workstation every time you had a new user.
Stephen Boston
Onward!
 VB6 Pro SP4, VBScript
A+ Certified Techncian.
No matter where you go, there you are.
-
Nov 12th, 2001, 10:33 PM
#5
Addicted Member
I would query the database for the user 'rights' info every time. Also, if you are storing username and password info in a database, you got to encrypt it! Email me for great (and free) encryption code.
Rikk =\=
Starcraft, Protoss Scout Driver!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|