Top "Securestring" questions

Represents text that should be kept confidential.

How to use unsafe code in safe contex?

I need to use SecureString for a Microsoft's class and i found the following code on the internet: public static …

c# extension-methods unsafe securestring
Safe use of SecureString for login form

So there's this class that seems very seldom used: SecureString. It's been around since 2.0 at least, and there are a …

c# security securestring
SecureString for storing in memory and presenting passwords? Or something else?

I have been writing a little program for myself using C# that I can use to store my passwords and …

c# security memory securestring
using securestring for a sql connection

I want to use a SecureString to hold a connection string for a database. But as soon as I set …

c# .net securestring
Clear C# String from memory

I'm trying to clear the memory contents of a C# string for security reasons. I'm aware of the SecureString class, …

c# string security memory securestring
How is SecureString "encrypted" and still usable?

According to MSDN SecureString contents is encrypted for additional safety so that if the program is swapped to disk the …

c# .net security encryption securestring
Java equivalent of SecureString

I'm looking for Java's equivalent of .NET's SecureString.aspx. Is there such implementation available in 2018? OWASP implementation is not exactly …

java java-security securestring
Is there any benefit to using SecureString in ASP.NET?

If I understand correctly, this is for keeping plain text out of memory, so that the app is secure against …

c# asp.net securestring
Getting password from PasswordBox

I have found several information on this issue here at SO but somehow I'm not really getting it ;-) From …

wpf mvvm passwordbox securestring
Authenticating with Windows Azure Active Directory directly without opening web browser

I referred this question and this MSDN post, but couldn't get the problem fixed. Below code demonstrates how to perform …

c# authentication azure securestring azure-active-directory