dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
718 stars 1.56k forks source link

Why method operate on passwords as strings? #1081

Open TomaszOledzki opened 5 years ago

TomaszOledzki commented 5 years ago

Why this method operate on passwords as strings and not securestrings? Wouldn't it be more secure if passwords be securestrings?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

svick commented 5 years ago

Not really. Here is an explanation for why SecureString shouldn't be used.