I'm trying to limit which IP's can access example.com/adminer.php which is used to manage my system's MySQL server.
I've been trying to achieve this using apache's conf files, settings, or tools so that I can later apply this method to other files or directories.
I've installed Adminer per the instruction on the site and everything seems to be working perfect except the inability to limit it to localhost.
I've tried making the below addition to the apache2 security.conf file, with no luck after a restart.
System: Debian 8.1
<Files /adminer.php>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>