- Issue created by @minnur
- 🇪🇸Spain intersarsi
Thank you for reviewing the module.
I'm agree with you, this is not the best refined and secure way.
However, there are two aspects that any administrator/developer have to to keep in mind:
- In the section where we can write a SQL stament, only is accessible by who has the role administrator.
- The user that is used to connect against foreign/remote database only should just have privileges to:
- Doing SELECT queries only in the necessary/specific tables.
- Allow stablish connection only from necessary/specific host.
Perhaps offering the option to configure a SSH tunnel it would improve the security. But at this moment I don't know if it is possible using the Drupal API and PHP.
I will thinking about. Any contribution will be welcome to make the module more secure.