I am tasked with developing a .Net application that will download the sql script file from a specific server and execute that file on the database. I can think of a few security steps that I want to include:
- Use secure server connection (SFTP)
- A database user has certain access (insertion, updating data on specific tables).
- I suggested isolating the transaction in a separate database instance. Unfortunately, they say that the transfer dataset is too large for this to be practical.
First of all, I am worried not only about letting someone purposefully damage information in a very large database, but ideally, to prevent accidental damage.
Questions:
- Did I miss something? Are there any recommendations to consider for this kind of thing?
- What would be the best way to authenticate a server certificate against a man-in-the-middle attack?
source share