WTF?? I have database passwords hard coded into my project, but they can be viewed as plain text using the assembly viewer??!? What can I do about that? Holy crap how did I not know about this already??
Reflector is probably the best of the assembly viewers.
But yes, this has been known since .net's release. Ordinary executables can also be sent to a text editor to view embedded strings (been that way since DOS v1.0, if not before).
Chip H.
____________________________________________________________________
Donate to Katrina relief:
You could also store your database connection strings in a config file...just encrypt it, and have your code decrypt it when it gets read in (.NET 2.0 has this functionality built in).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.