How can the iis server prohibit external network access to phpmyadmin? Thank you!
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>
Just restrict the port directly
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>
Just restrict the port directly