for old asp.net, IIS encryption services is probably best:
https://learn.microsoft.com/en-us/previous-versions/aspnet/zhhddkxy(v=vs.100)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
As a result of the Veracode security scan, the Encryption Key and IV were found to be hard-coded in the code. For encryption, we are also using the old TripleDES algorithm.
In this case, we must remove the hard-coded key and IV and also update to the AES algorithm. This is a utility class that will be used throughout the application (in Web application, Windows application and WCF services)
Hard code key and IV in Encryption class
It is a legacy application that has recently been moved to AzureDevops. The process of removing hard-coded keys and implementing a new encryption standard presents some challenges.
1.The best way to store the encryption key and IV securely is local/store in files.
2.We don't have option to store in AzureKeyValut and use Environment Variable.
3.Also Client not accepting to store Key & IV store in Web.Config and Database.
I have chosen AES CBC Mode symmetric algorithm for server side encryption. But Not sure how to deal encryption key storage.
What are the best approaches/secure ways to store the Key & IV locally or any other options available?
Please assist and share helpful thoughts.
Thanks in advance.
for old asp.net, IIS encryption services is probably best:
https://learn.microsoft.com/en-us/previous-versions/aspnet/zhhddkxy(v=vs.100)