Secure XAMPP: only local connections

Published 2011-03-25, 12:23

1) Open file xampp\apache\conf\httpd.conf and replace

Listen 80

with

Listen 127.0.0.1:80

2) Open file xampp\apache\conf\extra\httpd-ssl.conf and replace

Listen 443

with

Listen 127.0.0.1:443

3) Open file xampp\mysql\bin\my.cnf|.ini and put in

bind-address=localhost

directly after [mysqld] (NOT [mysql]!)

13 queries. 0,175 seconds.