Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Is there a right web app login approach?

Posts: 13
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all,
I hope this is the right forum. I'm adding a login feature to an existing web application where a user logs in X many times with the wrong password, that person gets locked out.
I have a couple of ideas but wanted to double check if there already exists a defined process that every web app follows.
I was thinking of keeping track of the user login attempts in the database and each time the user tries to login with incorrect password. After so many tries, it locks the user out.
I was also thinking of keeping track of the number login in attempts in a text file. The login jsp/servlet file can query this file to see how many times this user as attempted to login.
So, What do you guys think?
Can anyone recommend some resources for me to read?
Geoffrey Lo
Posts: 67496
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello again,
Cross-posting the same question in multiple forums is considered a no-no. Please see my answer in the Beginner forum.
Do Re Mi Fa So La Tiny Ad
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic