I am making a component that uses some data to connect to the database, this data includes the user ID and password, it stores these values in private variables, but any programmer can see the value in the debugger after initialization, so I wonder how SqlConnection does. to hide this value, when I see the value of the ConnectionString property, I see all the information except the password, its storage somewhere, but it does not make it visible even in the debugger, I don’t see any variable that, while saving the password, I know what i can secure password with SecureString, but I'm wondering how to implement the SqlConnection object.
Thanks.
Juan Zamudio
source
share