A
A
Alexander Kalinin2022-03-21 19:22:15
MySQL
Alexander Kalinin, 2022-03-21 19:22:15

Is mysql sticking out and only accepting requests from the right trusted ip addresses secure?

Pretty stupid question, but whatever.

there are servers A and B, which are from different providers.
server A will have to host mysql, and server B will use it, therefore, the database will stick out.

Is this scenario safe, provided that the database will only accept requests from the IP address of server B? Or is the local network/vpn option better?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2022-03-21
@tchlgru

If you block access to the MySQL port with a firewall to all but trusted IPs, then it is still tolerable.
The LAN/vpn option is better.

U
Uncle Seryozha, 2022-03-21
@Protos

Nope, https://habr.com/ru/post/588705/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question