JNet 2016 Secure PHP My Admin

View previous topic View next topic Go down

JNet 2016 Secure PHP My Admin

Post by jamied_uk on 25th April 2016, 12:46

J~Net 2016 Secure PHP My Admin


This detects the ip and can be edited to make sure only allowed IP's can access the login page for a Auth Page that if that password is also correct they can then see the PhpMyAdmin Login Page which again if passed will allow Access to The database login!


Download Here
https://app.box.com/s/x8jj8qjl8aceicjwwkg3d06ciy92oqrh

This is basic security and should be monitored for incorrect logins or incorrect ip access attempts and should also be noted that you can restrict access other ways from within the security files for your web server to restrict and allow only ips you wish to aswell as use this script as it is not replacement for other methods but it adds another couple layers of security if they manage to get that far, also do not show to the public where you place your phpmyadmin files & folders and never reveal usernames, passwords, internal (private IP's etc).



However if you wish to use the default phpmyadmin (for the installed version from command line)


Now to allow access to default phpmyadmin

Code:
sudo -H gedit /etc/apache2/apache2.conf



add this line to the bottom

Code:
Include /etc/phpmyadmin/apache.conf


now restart

Code:
sudo service apache2 restart

Default location for phpmyadmin is

Code:
/usr/share/phpmyadmin

But now you need to manually find the phpmyadmin folder and secure it manually using methodology as seen above!
avatar
jamied_uk
Admin

Posts : 2280
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum