Welcome Guest, Not a member yet? Register   Sign In
How can I lockout login for 5 minutes if 5 bad attempts are made
#1

Hello,

Im trying to lock the login for 5 minutes if 5 bad attempts are made in a row to help deter brute force hackers. Does anyone have any methods they usually use in CodeIgniter? Thanks! 
สล็อตขั้นต่ำ 1 บาทฝากถอนออโต้
Reply
#2

Best thing would be to take a look at Lonnie's Sheild Auth.

CodeIgniter Shield
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

Shield does not have the account lock feature yet.
Reply
#4

(This post was last modified: 09-23-2022, 10:34 AM by luckmoshy.)

just use ci throttle https://codeigniter.com/user_guide/libra...t=throttle

just use a logic function with HTML
Code:
disabled
atribute in input field

PHP Code:
<?php

$throttler 
= \Config\Services::throttler();
$throttler->check($name60MINUTE); 
Do Codeigniter Before Do You!
yekrinaDigitals

Reply
#5

Ok. thanks @kenjis, I have not really dug into the source that much yet but will get around to it.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB