Gastly Posted July 24, 2014 Share Posted July 24, 2014 Open your FTP public_html --> .htaccess --> Enter the following at the bottom underneath </ifmodule> <Files admin.php> Order Deny,Allow Deny from all Allow from 777.77.77.777 </Files> the '777....' being your IP address. You can find your IP by clicking - http://www.whatismyip.com/ Quote Link to comment Share on other sites More sharing options...
GOAT Posted July 25, 2014 Share Posted July 25, 2014 Thanks man. Quote Link to comment Share on other sites More sharing options...
Nozzy Posted July 31, 2014 Share Posted July 31, 2014 Thanks for this Quote Link to comment Share on other sites More sharing options...
LouCapLou Posted August 11, 2014 Share Posted August 11, 2014 thank you ! Quote Link to comment Share on other sites More sharing options...
Djlatino Posted January 8, 2015 Share Posted January 8, 2015 This method can be used for any kind of forum board, or any kind of site for that matter. However, you would need to use IP ranges instead of just 1 IP if your ISP provides dynamic IPs, which can be done with adding /#, i.e. <Files admin.php> Order Deny,Allow Deny from all Allow from 777.77.77.0/777 </Files> 1 Quote Link to comment Share on other sites More sharing options...
Mortiferr Posted February 22, 2015 Share Posted February 22, 2015 Wow, this is very helpful, thank you very much! Quote Link to comment Share on other sites More sharing options...
Thorn Posted March 10, 2015 Share Posted March 10, 2015 Thanks for this, using it as security for my forum currently! Also for anyone wondering, here's how you add more than one IP: <Files admin.php> Order Deny,Allow Deny from all Allow from 777.77.77.777 555.55.55.555 </Files> Just add a space after each IP 1 Quote Link to comment Share on other sites More sharing options...
Erza Posted March 11, 2015 Share Posted March 11, 2015 Unfortunately, this seems like an out of the question option if the IP changes completely because we often use different networks (secured, though) to connect. Quote Link to comment Share on other sites More sharing options...
Thorn Posted March 11, 2015 Share Posted March 11, 2015 Unfortunately, this seems like an out of the question option if the IP changes completely because we often use different networks (secured, though) to connect. @Erza you could always just quickly connect via FTP and modify the .htaccess file to add your IP if you're on a different network. No programs needed, just use cPanel. Quote Link to comment Share on other sites More sharing options...
Erza Posted March 12, 2015 Share Posted March 12, 2015 @Erza you could always just quickly connect via FTP and modify the .htaccess file to add your IP if you're on a different network. No programs needed, just use cPanel. I am not the only administrator, so while this would be the option for me, I don't want to do this every time for the other admin. Quote Link to comment Share on other sites More sharing options...
Andrew™ Posted April 9, 2015 Share Posted April 9, 2015 Cool and easy, nice. Quote Link to comment Share on other sites More sharing options...
Debug Posted April 14, 2015 Share Posted April 14, 2015 Doing this would have both positive and negative affects. The positives are quite obvious, but you might need to login to your ACP at an unexpected location, and that wouldn't be possible if the IP isn't allowed to access it. Quote Link to comment Share on other sites More sharing options...
JackRabbit Posted April 19, 2015 Share Posted April 19, 2015 Doing this would have both positive and negative affects. The positives are quite obvious, but you might need to login to your ACP at an unexpected location, and that wouldn't be possible if the IP isn't allowed to access it. Personally I secure my ACP with a dedicated IP VPN (private IP, so only I can use it) so that I do never run into that problem Quote Link to comment Share on other sites More sharing options...
puretarget Posted October 10, 2015 Share Posted October 10, 2015 thanks Quote Link to comment Share on other sites More sharing options...
ranges Posted May 20, 2016 Share Posted May 20, 2016 what if i have dynamic ip? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.