Prevent hackers to enter you admin panel

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
Locked
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

Prevent hackers to enter you admin panel

Post by Solidjeuh »

I have an easy solution, That prevents hackers to enter your admin panel.
Just make an .httacces into the 'adm' folder

Code: Select all

<limit GET>
order deny,allow
deny from all
allow from IP address Here
</limit> 
if you have more then 1 admin:

Code: Select all

<limit GET>
order deny,allow
deny from all
allow from IP address Here
allow from IP address Here
</limit>
Now when you try to enter the admin panel you will get an error page if your ip addresses is not in that list.
The only problem is, when you have a dynamic ip adres you need to change the address into the .htacces file every time it changes. Otherwise you can't get into your own admin panel :D

Image

This is not my code! I found this on google. And wanted to share with all of you
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
Sinnocent
BBCoder I
BBCoder I
Posts: 1
Joined: 09 Feb 2012, 10:12
BBCodes: 5

Prevent hackers to enter you admin panel

Post by Sinnocent »

Is it that easy to hack a phpbb forum?
Is this mod legit?
User avatar
Mii
BBCoder II
BBCoder II
Posts: 47
Joined: 28 Nov 2011, 23:16
BBCodes: 14

Prevent hackers to enter you admin panel

Post by Mii »

It makes no sense. What if your admins have a dynamic IP or have to do some work from somewhere else? Use password protected directories instead. http://lmgtfy.com/?q=password+protected ... access&l=1
Although, that isn't necessarily needed. The phpBB admin login is almost 100% safe. (Nothing is 100% safe)
Leinad4Mind
BBCoder II
BBCoder II
Posts: 27
Joined: 28 Apr 2011, 12:55

Prevent hackers to enter you admin panel

Post by Leinad4Mind »

True x'D But the best modification is to change ACP directory: viewtopic.php?f=52&t=1875
User avatar
Arnevb
BBCoder III
BBCoder III
Posts: 98
Joined: 08 Oct 2011, 18:23
BBCodes: 8
Location: Belgium
Contact:

Prevent hackers to enter you admin panel

Post by Arnevb »

You can better manage these things in your CPanel :) Deny IP's and stuf...
webmaster
BBCoder II
BBCoder II
Posts: 69
Joined: 19 Nov 2011, 23:52
BBCodes: 5
Favourite BBCode: Rainbow
Favourite MOD: Please wait
Location: Bangladesh
Contact:

Prevent hackers to enter you admin panel

Post by webmaster »

Thanks all for their comments..
Locked