BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. HTML5 Canvas
  2. Ruby
  3. iPhone/iPad
  4. Spring Web Flow
  5. REST
  1. jQuery Selectors
  2. Spring Config.
  3. Java
  4. Ajax
  5. Java Concurrency

Link Details

You make DZone different! Login and vote now.
Link 3609 thumbnail
User 206078 avatar

By Bouvillon
via webcheatsheet.com
Published: Sep 21 2006 / 11:34

Sometimes you need to add an extra protection to a password-protected website. This article explains how access to the login page can be restricted after three unsuccessful login attempts. This schema uses a visitor's IP address to store log attempts in the database and block access to the login feature for 30 minutes after a third unsuccessful attempt.
  • 7
  • 0
  • 1019
  • 4

Comments

Add your comment
User 201716 avatar

unchqua replied ago:

0 votes Vote down Vote up Reply

For fast attempts counting one can use in-memory storage engines like MySQL's "MEMORY" engine. Its content is not preserved between DB server restarts, but IMHO it's not so important in this simple task.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)