search

Home  >  Q&A  >  body text

How can IIS server prohibit external network access to phpmyadmin?

How can the iis server prohibit external network access to phpmyadmin? Thank you!


phpcn_u42988phpcn_u429882679 days ago1368

reply all(2)I'll reply

  • 简单生活

    简单生活2017-10-14 09:16:47

    A few lines of code can solve the problem. The external network cannot access, and phpmyadmin can only be accessed locally. Add the following settings at the end of the httpd.config file:

    <Directory "htdoc path/phpMyAdmin">

    order deny,allow

    Deny from all

    Allow from 127.0.0.1

    </Directory>


    reply
    0
  • phpcn_u42988

    It seems that the apchahe server can be set up like this.

    phpcn_u42988 · 2017-10-14 09:19:16
  • A.MIXING

    A.MIXING2017-10-14 08:35:20

    Just restrict the port directly

    reply
    0
  • Cancelreply