remote blocking of phpmyadmin

Discussion in 'Installation/Configuration' started by ariban99, Feb 2, 2017.

  1. ariban99

    ariban99 Member

    Hi,
    If you visit my site on my server for example http://mysite.com/phpmyadmin it asked for login information.
    I think this is not very secure, is this correct?
    Is there a way to NOT allow any external ip’s to be able to access my phpmyadmin unless I allow them?
    In ispconfig 3.1 under sites > database it says ALLOW EXTERNAL IP, and that is NOT checked! And the ip list below that is EMPTY
    Thank you

    Ben
     
  2. vk3heg

    vk3heg Member

    In the top of the /etc/apache2/conf-available/phpmyadmin.conf
    use this:

    <Directory /usr/share/phpmyadmin>
    Order Allow,Deny
    Allow from 127.0.0.1
    Allow from 203.x.x.x
     
  3. ariban99

    ariban99 Member

    thank you
     

Share This Page