Results 1 to 5 of 5

Thread: Storing User Name and Password

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Location
    Venice, FL
    Posts
    21

    Talking 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

  2. #2
    Member
    Join Date
    May 2001
    Location
    india
    Posts
    42
    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

  3. #3
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    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.

  4. #4
    Addicted Member Stephenb's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix, Arizona.
    Posts
    172
    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.

  5. #5
    Addicted Member Rikk's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta
    Posts
    131
    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
  •  



Click Here to Expand Forum to Full Width