I have to protect credentials for a batch so I cannot use Windows
Credential Store as explained here: http://msdn.microsoft.com/en-us/library/aa480470.aspx
As far as I know usually to protect credentials
System.Security .Cryptography.P rotectedData is used, but it "depends"
on the user or machine, so if I have to put the DB password in the
app.config I cannot deploy it to all machines unless I reencrypt the
password on each machine.
What is the best practice if I do not want to redo the encrypting for
each destination machine?
And if I want to store a password in a DB what is the best encryption
method to use?
Thanks,
Luigi.
Credential Store as explained here: http://msdn.microsoft.com/en-us/library/aa480470.aspx
As far as I know usually to protect credentials
System.Security .Cryptography.P rotectedData is used, but it "depends"
on the user or machine, so if I have to put the DB password in the
app.config I cannot deploy it to all machines unless I reencrypt the
password on each machine.
What is the best practice if I do not want to redo the encrypting for
each destination machine?
And if I want to store a password in a DB what is the best encryption
method to use?
Thanks,
Luigi.