Don’t hard code keys. The keys should be loaded at runtime from a secure source. Azure key vault is a possible option.
How to resolve Use of hard-coded cryptographic key vulnerabilities in asp.net application?
Sana, Ramesh
20
Reputation points
How to resolve Use of hard-coded cryptographic key vulnerabilities in asp.net application?
Developer technologies .NET Other
4,103 questions
Developer technologies ASP.NET Other
3,597 questions
Developer technologies C#
11,567 questions
1 answer
Sort by: Most helpful
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2023-07-29T16:55:53.5233333+00:00