Results 1 to 12 of 12

Thread: User PIN number

  1. #1
    mikerada6 is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default User PIN number

    I am creating a project that needs to save data daily. I also want to be able to track who is entering data. What i want to do is at the bottom of the form where the data is being entered have a 4 digit PIN number that is unique to each user. Once the user has entered their PIN and submitted it i want to identify who the user is and then lock it so that only that user can gain accesses to it.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    Hm, not terribly secure, but better than nothing, I guess.

    db

  3. #3
    mikerada6 is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    I am willing to listen to suggestions to make the system more secure. However I do not want to give up the idea of only requiring a four digit PIN this system is meant for my employees to enter data quickly and I do not want them to be bogged down by having to enter a user name and password

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    Ah ok then.

    db

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    So what's your question?

  6. #6
    mikerada6 is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    what would be the best way to design this system? As of right now i have no idea of how to start such a code.

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    The first thing is you need to sit down and define our requirements.
    At the moment (from where we are) your requirement is little more than "I need a system that does stuff", which isn't exactly detailed.

    What data is being stored, who can edit that data, who can add to that data, that sort of thing.

  8. #8
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    Quote Originally Posted by Tolls View Post
    So what's your question?
    Wow, I never would have guessed there might be a question.

    db

  9. #9
    mikerada6 is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    The easiest example would be safe count. Three times a day the safe needs to be counted with how many pennys., nickles., dimes, quarters, ones, fives, ect. Any usher can count the safe and whoever does the first count does not always do they second. I would like it so you can only edit your own safe counts. And if at possible after 48 hours no one can edit the data. However any usher should be able to veiw past data.

  10. #10
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    How much do you actually know about databases, Java, JDBC, etc?

  11. #11
    mikerada6 is offline Member
    Join Date
    Oct 2010
    Posts
    10
    Rep Power
    0

    Default

    I have. A good understanding of Java. However I have never used databases. If that is the best way to complete this project I will go learn.

  12. #12
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    It does sound like a db thing to me, but then I work with dbs...so that could be the old "when you only have a hammer" thing.
    :)

    The problem there is that it's quite a big field, but since you could probably do this in a single table that should help. And performance is not going to be an issue (you;re not talking 1000s of transactions a second!).

    Grab something like Derby, which comes with the latest JDKs, and see if you can set up something with that.

Similar Threads

  1. Is there any way to get the user mobile number in J2ME
    By Basit781 in forum CLDC and MIDP
    Replies: 0
    Last Post: 05-26-2010, 02:33 PM
  2. Finding a number in array close to another number
    By SteroidalPsycho in forum New To Java
    Replies: 2
    Last Post: 02-15-2010, 12:37 AM
  3. Printing the Number of Times a Number in a Range Shows up
    By space4rent00 in forum New To Java
    Replies: 1
    Last Post: 02-05-2010, 10:42 PM
  4. geting user input (number)
    By kliane in forum New To Java
    Replies: 9
    Last Post: 01-17-2010, 12:25 PM
  5. Replies: 1
    Last Post: 11-03-2008, 02:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •