Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 318 | All time: 7,246 This week: 146 |
Version | License | PHP version | Categories | |||
block-login-attempt 1.0 | Freeware | 5 | PHP 5, User Management, Security |
Collaborate with this project | Author | |
block-login-attempt - github.com Description This class can block login attempts from IP after failures. |
<?php |
After Number Of Failed Login Attempt By User, the class will block the user's IP Address for some Hours. Developer can set Maximum Failed Login Attempt, Blocked IP Address and Unblock Time setting from the config.php file.
Currently this class is storing the Blocked IP Address details in the JSON file which can be stored in the Database.
After maximum failed login attempt, user's IP Address will be blocked for the time which has neen set in the config.php file. After the blocked timeout time, if user will try to access the page, his IP Address will be ublocked automatically.
Bharat Parmar
1.0
1) config.php : Configuration File contains setting about the Class.
2) class/Login.class.php : Login class file contains Login behind the Failed Login Attempt and Block/Unblock IP Address.
3) blockedip.json : JSON file contains Blocked IP Address and it Unblock Time.
4) example.php : Example script with description.
5) blocked.html : This file is just displaying Blocked IP Address Message.
1) PHP Version : 3.0 and above
Files (6) |
File | Role | Description | ||
---|---|---|---|---|
class (1 file) | ||||
blocked.html | Data | Auxiliary data | ||
blockedip.json | Data | Auxiliary data | ||
config.php | Conf. | Configuration script | ||
example.php | Example | Example script | ||
README.md | Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
block-login-attempt-2016-06-22.zip 3KB | |
block-login-attempt-2016-06-22.tar.gz 2KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.