IP Based Login allows you to directly login from an authorized IP without password. So if you want to allow someone to login but you do not want to share the login details just add their IP / IP Range using IP Based Login and when they access your site they will be logged in without having to enter the login credentials.
Features in IP Based Login include:
– IPv6 Support
– Central Management for IP ranges – Add your IP ranges on our central server and get the IP ranges synced across all your websites automatically.
– Create IP ranges
– IPv4 Support
– EZProxy Support
– Cloudflare ’support
– Choose the username accessible when accessed by the IP existing in provided range
– Bulk Export/Import IP ranges
– Delete IP ranges
– Enable/Disable IP ranges
– Terminate Session if IP changed
– Licensed under GNU GPL version 3
– Does not affect when accessed from any other IPs not existing in any ranges
– “is_logged_in_using_ipbl()” function allows admin to determine if a user is logged in with IP Based login plugin or with username/password. This function can be called from any other theme/plugin or any PHP file.
– Hook point “ipbl_can_auto_login” which is called just before logging in the user. Using this hook the admin can decide to proceed with auto login or not. Return false to disallow auto login, return true to allow auto login. Note : This hook is executed after the IP check with the allowed IPs in database so if the accessing IP is not in the allowed list this hook will not be called.
– Hook point “ipbl_auto_logged_in” which is called after logging in the user.
– Safe & Secure
– No passwords saved
NOTE: For EZProxy please add /?login to your site link in EZProxy config. E.g. If your website’s domain is domain.com please add the link in EZProxy as https://domain.com/?login
Upload the IP Based Login plugin to your blog, Activate it.
That’s it. You’re done!
Contributors & Developers
“IP Based Login” is open source software. The following people have contributed to this plugin.Contributors
“IP Based Login” has been translated into 3 locales. Thank you to the translators for their contributions.
Translate “IP Based Login” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
2.3.2 11th February 2023
- [Bug Fix] Temporary Disable Auto Login option did not work when the logged in username contained a dot (.) This is fixed.
2.3.1 4th February 2023
- [Bug Fix] In rare cases when the IP Based Login version entry was deleted manually from options table it would break the structure of IP Based Login table. This is fixed.
2.3.0 2nd November 2022
- [Feature] Added a hook point “ipbl_auto_logged_in” which is called after logging in the user. Using this hook the admin can perform actions after a user is logged in.
2.2.9 24th October 2022
- [Feature] Added a hook point “ipbl_can_auto_login” which is called just before logging in the user. Using this hook the admin can decide to proceed with auto login or not. Return false to disallow auto login, return true to allow auto login. Note : This hook is executed after the IP check with the allowed IPs in database so if the accessing IP is not in the allowed list this hook will not be called.
2.2.8 27th September 2022
- [Bug Fix] Logging IP Based Auto Logins with (WP Activity Log) failed in some cases. This is fixed.
2.2.7 27th August 2022
- [Task] IP Based Auto Logins will now be logged into (WP Activity Log) plugin
2.2.6 4th May 2022
- [Bug Fix] Fixed Login Usage values while exporting the IP ranges to CSV
2.2.5 1st May 2022
- [Improvement] [Pro] Tracking IP usage will now work for ranges that have Unlimited usage as well
- [Bug Fix] Fixed some PHP warnings
2.2.4 27th February 2022
- [Improvement] [Pro] Settings ’such as IP detection preference, sync frequency, terminate session on IP change and hide IP ranges can now be synced from central server across all sites to save time in updating settings on each site
- [Bug Fix] “is_logged_in_using_ipbl” function was not returining that the session was created by IP Based Login plugin on initial page load. This is fixed now.
2.2.3 30th January 2022
- [Feature] [Pro] Central server can now add multiple IP ranges with same IP with unique usernames. IP Based Login will take the 1st username that exists on the site and login the visitor into that user.
- [Feature] [Pro] Central server can now add Include and Exclude sites to decide if the site should be allowed to sync the IP range or not.
- [Bug Fix] If an IP was present in IP Based Login and the username assigned to it did not exist on the site, when a visitor with that IP tried to login with their username/pass was leading to a redirect loop causing the login to fail.
2.2.2 24th January 2022
- [Bug Fix] Due to changes in v2.2.1 IP detection failed on some servers. This is fixed now.
2.2.1 23rd January 2022
- [Bug Fix] Fixed detection of IP when using Cloudflare.
2.2.0 10th January 2022
- [Feature] [Pro] Added ’support to sync IP ranges from a central server across all your sites automatically.
- [Feature] [Pro] Added Redirect link to the IP range, to redirect users to a certain page after login.
- [Feature] [Pro] Added Usage limit to alllow users to login from the allowed IPs for certain times.
- [Bug Fix] Changes to ’support translations for some left out texts
- [Feature] Added option to sort the IP ranges by date/username.
- [Feature] Added a setting to destroy session created by IP Based Login if the client’s IP changes.
- [Improvement] Changes to improve efficiency on sites having high traffic and high number of IP ranges added in IP Based Login.
- [Improvement] After using the “Disable auto login” option user will be re-directed to login page. Previously user was redirected to home page.
- [Bug Fix] The database structure was not created correctly during activation of the plugin. This was due to a bug introduced in v2.0
- [Bug Fix] Removed escapeshellcmd function usage as it could be disabled on some servers. Instead we are using esc_sql which is safe.
- [PRO Feature] Added ’support for IPv6.
- Trimed whitespaces while importing the CSV file.
- Added error reporting for the rows not imported while importing the CSV file.
- Created the WordPress Test Cookie because some plugins need it. This cookie is generally created on login page but since we are auto login this cookie was not created hence we need to create it.
- Added “Delete All IP Ranges” to delete all IP ranges at once
- Added ’support for redirect_to parameter to redirect to a given URL after login
- Improved users list dropdown to load even with over 10k users
- List all users in dropdown for users list
- Minor UI improvements
- Fixed a scenario leading to error about MySQL query syntax in the web server logs
- Added admin login check while exporting the IP Ranges to CSV file
- Added setting to choose the method to detect user’s IP e.g. REMOTE_ADDR, HTTP_X_FORWARDED_FOR or HTTP_CLIENT_IP
- Fix for detecting IP when the client is behind proxy
- Removed usage of Deprecated function get_userdatabylogin(), replaced it with get_user_by()
- Added ’support for Translations
- Added option to Bulk Export/Import IP ranges
- Display the “Logged in by IP Based Login” only if the user is actually logged by our plugin.
- Added function “is_logged_in_using_ipbl()” which allows admin to determine if a user is logged in with IP Based login plugin or with username/password. This function can be called from any other theme/plugin or any PHP file.
- Fixed compatibility is’sue with PHP 7
- Now compatible with WordPress 4.2.2
- Added Settings link on Plugins page itself
- Compatible with WordPress 4.0
- Fixed the is’sue that caused error while adding IP range when there was whitespace in Start IP or End IP
- Added the users list dropdown toggle so that the plugin does not break when the site has huge list of users
- Minor User Interface improvements
- Added compatibility with “ARYO Activity Log” plugin
- User can disable auto login temporarily for 15, 30 or 60 minutes
- Added a note in header stating the user is logged in by IP Based Login
- Added Error Handling for exising IP ranges
- Added IP Based Login details in footer
- Added the list of users in a dropdown while adding an IP range
- Fixed a typo
- Added Option to Enable/Disble IP Ranges
- Changed Start and End IP columns in database to BIGINT
- Compatible with WordPress 3.8
- IP Based Login will now drop the database if the plugin is uninstalled and not when the plugin is deactivated
- Create IP ranges
- Choose the username accessible when accessed by the IP existing in provided range
- Delete IP ranges
- Licensed under GNU GPL version 3
- Does not affect when accessed from any other IPs not existing in any ranges
- Safe & Secure
- No passwords saved