Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Login Restriction - Restrict a user's login to a country or IP address. Details »
Login Restriction - Restrict a user's login to a country or IP address.
Mod Version: 1.01, by Dave (Coder/Designer) Dave is offline
Developer Last Online: Aug 2021 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 19
Released: 30 May 2014 Last Update: 16 Jan 2016 Downloads: 89
Not Supported DB Changes Uses Plugins Re-usable Code External Content  

Hello,

This plugin will make it possible to restrict the account of a user to a country and/or IP address. This can be a wonderful plugin to protect an administrator or moderator account.

Screenshot


Installation
1) Download the .xml file specified.
2) Import it in the admin control panel.

Usage
Simply go to the users profile in the admincp and look for the login restriction table.
You can restrict a user to an IP address, country or both.

If someone tries to login and the IP address or country doesn't match, it will simply show "the incorrect username/password entered" error message.

Note
Keep in mind that the country resolving might not be 100% accurate since the script relies on the API of telize.com.
Also don't lock yourself out!

Credits
Telize.com its API is being used to get the country off the IP address.


Let me know how it works.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Untitled.png
Views:	655
Size:	7.6 KB
ID:	149227  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 31 May 2014, 05:10
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Real name: Ben Dover.
Wouldn't it be better to just restrict the admin login to a set ip?

With the ability to email a user when someone tries to breach this login page.

Like >> http://www.vbulletin.org/forum/showt...light=firewall

Thanks for sharing.
__________________
Tech forum.
Reply With Quote
  #3  
Old 31 May 2014, 09:00
Dave Dave is offline
 
Join Date: Jun 2010
Originally Posted by synseal View Post
Wouldn't it be better to just restrict the admin login to a set ip?

With the ability to email a user when someone tries to breach this login page.

Like >> http://www.vbulletin.org/forum/showt...light=firewall

Thanks for sharing.
Well, I also wanted to be able to restrict normal users.
Reply With Quote
  #4  
Old 20 Jun 2014, 03:18
JacobSuth JacobSuth is offline
 
Join Date: Feb 2011
Real name: Jacob
Originally Posted by synseal View Post
Wouldn't it be better to just restrict the admin login to a set ip?

With the ability to email a user when someone tries to breach this login page.

Like >> http://www.vbulletin.org/forum/showt...light=firewall

Thanks for sharing.
I use the adminCP firewall and it only emails one e-mail address, so normally if you have a bunch of administrators it spams your e-mail and you can't really remember all of their IP addresses. So it's not the best thing in the world as it doesn't actually e-mail the user itself and the main admins e-mail, as I wish it would.

So this does provide extra security to limit to a IP or a country. Personally I think you should beable to use IP ranges or multiple IPs that would be my only suggestion.
Reply With Quote
  #5  
Old 21 Aug 2014, 02:02
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
can fake ip?
Reply With Quote
  #6  
Old 21 Aug 2014, 09:27
Dave Dave is offline
 
Join Date: Jun 2010
Originally Posted by Easy5s.net View Post
can fake ip?
What do you mean?
It's pretty much impossible to spoof an IP address of a TCP handshake.
Reply With Quote
  #7  
Old 24 Feb 2015, 19:58
sevenmix's Avatar
sevenmix sevenmix is offline
 
Join Date: Apr 2009
Really great product thanks btw
__________________
ForoBeta - Comunidad de bloggers en espaņol.

Last edited by sevenmix; 24 Feb 2015 at 20:07.
Reply With Quote
  #8  
Old 07 Jan 2016, 14:19
akz645 akz645 is offline
 
Join Date: Jul 2015
Originally Posted by JacobSuth View Post
Personally I think you should beable to use IP ranges or multiple IPs that would be my only suggestion.
I second this.

As I don't just log in from home. I also log in from other places.
Reply With Quote
  #9  
Old 16 Jan 2016, 16:37
Dave Dave is offline
 
Join Date: Jun 2010
Uploaded a new version which fixes the broken GEO API.
Reply With Quote
  #10  
Old 28 Sep 2017, 16:03
Inna Inna is offline
 
Join Date: Jul 2016
Possible to restrict login to specific range IP? It seems this product cannot do this as I've tried (or even maybe I mistakenly had tried)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:31.

Layout Options | Width: Wide Color: