Jump to content

Recommended Posts

I would setup a table that records every time there's a failed login attempt.  It would contain columns for ip address, username, time, etc... and in the login script, before selecting where username&&password, check to see how many that ip address has tried to login or how many login attempts were made with that username or both.  Could have a cronjob that removes entries after x amount of time or set it up to where user has to contact someone through a form or whatever.  Really depends on how robust you want to make it.

Well, it would still sort of be the same principle.  You'd have a column in your user account table called numLogins or something and inc it every successful login.  Then in your login script, check what number it's at.  if it's >=5, don't let them login.  Send them to some page saying they logged in 5 times already, or whatever.

 

If you are not wanting to login in anymore whatsoever (like, not even creating a new account)...well, there's no way to 100% prevent them, but you can log their ip address and check for it when registering.  But again, there's no way to 100% prevent them from getting around that. 

 

normal user table add a field called Logins

 

add to the login script to take 1 off the # of logins each succesful time

 

add to the login script if Logins = "0" then don't login

 

 

Use Email address as Account Name and require them to activate account via emailed code this will cut down on ppl making extra accounts

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.