MyBB Community Forums

Full Version: set login ip for my forum staff.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

For security of my forum , I want to me and my staff (moderators) set only one ip login for them , soo I can login only from my computer IP , and if anyone hacks my password , with different ip he could not login. is this possible?

thanks
You can set it up using HTACCESS via CPanel using the allow/deny codes
order allow,deny
allow from 123.45.6.7
allow from 234.56.7.8
deny from all

Obviously, replace the IP in the code with your IP Smile Also you can use the "allow from" line as many times as you need for each of your admins.

Put that code into a file in your admin directory called ".htaccess".
(2011-03-15, 12:30 AM)Pixovee Wrote: [ -> ]
order allow,deny
allow from 123.45.6.7
allow from 234.56.7.8
deny from all

Obviously, replace the IP in the code with your IP Smile Also you can use the "allow from" line as many times as you need for each of your admins.

Put that code into a file in your admin directory called ".htaccess".

Wouldn't that only allow those IP's to access the site? He just wants it so admins and mods can only login from certain IP's. Try the following plugin. Seems to be what you need...
http://mods.mybb.com/view/restrict-ip