The answer to your questions: 1) Do not use a password for your key. Instead, encrypt the key with the database key. And then encrypt your primary database key with a password as well as a service key. The programmer still needs to write OPEN SYMMETRIC KEY SecureSymmetricKey1, while Encrypting \ Decrypting. But you do not need to tell him the password of the base database key, because he should not write this password anywhere. The password is recorded only once, when we do not create a symmetric key every time. Also, when the database master key is encrypted using the service key, you do not need to provide a password to open the database master key if you are under the same instance of SQL Server.
2) If someone takes your .bak file and tries to open it, he cannot, because he cannot open the database master key without a password. A symmetric key will not be opened without a primary database key. Therefore, if he starts the stored procedures, he will not see anything.
I hope this helps.
source share