3 ms·
The article raises some common-sense good points, but as others have noted, a lot of it is crappy advice. > When a user points their computer towards your serv
by kijin 15y ago
The article raises some common-sense good points, but as others have noted, a lot of it is crappy advice.
> When a user points their computer towards your server, they generally use your ip address. If they have malicious intentions, they will go fishing for your phpmyadmin, mail, or other vulnerable services.
A malicious person can just as easily go fishing for vulnerable web-accessible pages using your domain name. example.com/phpmyadmin is no more secure than 12.34.56.78/phpmyadmin.
> 5. Block access to phpmyadmin
Nope, just don't install it in the first place. Especially if you're going to access it remotely over plain HTTP. If you really absolutely want to use phpmyadmin, put it in its own virtual host that is only accessible from localhost. Then tunnel into your server to access it.
> 8. Use .htaccess ... to block a range of IP addresses
Using .htaccess to block IPs? Whoa, wrong tool for the job. You might have no other choice if you're on a shared server, but there are much better IP blocking solutions if you're setting up your own Linux server.