MyBB Community Forums
Secure your Admin CP (.htaccess) - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: Tutorials (https://community.mybb.com/forum-38.html)
+--- Thread: Secure your Admin CP (.htaccess) (/thread-140524.html)



Secure your Admin CP (.htaccess) - Lingo - 2013-06-06

Okay, this is an easy but effective way to secure your admin control panel.

How does this protect your admincp?

When you go to access your control panel you will be given the following Authentication Window:
[Image: authentication-required.jpg]

I have this enabled on my server. It just makes it a lot harder for hackers to gain unauthorized access to your AdminCP.

How do I create the required files?

You could make the two files yourself or you can use this easy tool to make the two files for you HERE!

Everything is explained on the tool page, but this does require .htaccess

Oh and it won't display this to you everytime you try to access the AdminCP, but it does it at random. If you are not authorized and haven't previously entered the correct credentials then this will always be displayed. Please either post back or PM me if you need any help.