platform-compat icon indicating copy to clipboard operation
platform-compat copied to clipboard

DE0001 Recommendation is useless

Open akirilov opened this issue 7 years ago • 0 comments

"The general approach of dealing with credentials is to avoid them and instead rely on other means to authenticate, such as certificates or Windows authentication."

A secret is still a secret, regardless of whether it's a password, a token, a certificate, or something else. This recommendation does not improve security in any way (as it pertains to secrets existing in memory in the clear).

Is there a recommended replacement for SecureString that adds any security benefit or is the punchline that there's nothing you can do to prevent your secrets from existing in memory so we shouldn't even try?

akirilov avatar Sep 25 '19 20:09 akirilov