How to Protect your AdminCP via IP Address
#1
Smile 
This will prevent any one from access the Admin Control Panel besides the IP's you list.

1. Open your FTP Application(ex.File Zilla,ect)
2. Go to the Admin Folder and Edit the .htaccess file
3. Copy & Paste this into there-
Order Deny,Allow
Deny from all
# Username
Allow from your YOUR IP HERE,Other Admins Ip here,So on and so on.
This will allow only you and your other admins access to the AdminCP and for other members it will appear as "Forbidden".

Hope this helped out! Wink

To find out your IP just go to http://whatsmyip.org/
[Image: mybbsig.php]

[Image: 38530.png]
Reply
#2
Just to note if a .htaccess file doesn't exist, create one with the given code.
Nice tutorial but I'm sure it has been posted already. Undecided
Reply
#3
Do we keep # Username as # Username or do we put our own username there?
Reply
#4
You don't even need the # Username line. It only helps you organize if you have multiple admins, in which case you replace it with your username.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply
#5
What if you have a dynamic IP?
Please don't PM me for support. Smile
Reply
#6
(2013-03-28, 09:45 AM)Seabody Wrote: What if you have a dynamic IP?

Then this may not be for you.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply
#7
already asked for dynamic ip. so this is pretty useless..
[Image: mybb-fsr-review-badge.png]
Reply
#8
Thanks for the tip. Smile
Reply
#9
This is very nice, Thank you for this. This will prevent a lot of hacking.
Reply
#10
Is very good for ip static,but for dynamic ip is not good because it changes every disconnection.(That would mean to change the ip .htacces every time you disconnect from the Internet.)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)