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,107 questions
Developer technologies | ASP.NET | Other
3,601 questions
Developer technologies | C#
11,578 questions
1 answer
Sort by: Most helpful
-
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
2023-07-29T16:55:53.5233333+00:00