Answer the question
In order to leave comments, you need to log in
It is not recommended to store passwords in the connection string. And where?
When developing software that connects to the database, storing passwords in the Connection String is not recommended for security reasons. I often read about this. And here is where to read about where, after all, or how, it is recommended to store passwords in a program that periodically connects to the database.
Thanks for the constructive responses.
Answer the question
In order to leave comments, you need to log in
Rather, not for security reasons - but for reasons of ease of management :)
Store in the configuration file.
And if a service that connects to the database is compromised, hiding access details will not save you.
well, for mssql in production, you can use authorization by AD user, and not by sql-login / pass.
Thanks brutal_lobster Do
you
have any other tips or recommendations?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question