C# security of resource files -
i looking hour, didn't find anything.
read tutorial resource files , decided try them. surprised when saw output, because resource files changed in dlls , weren't in .exe file.
my question are:
- how these files safe?
- what safe store in them?
the first google hit on "resource files security site:msdn.microsoft.com" states:
caution
do not use resource files store passwords, security-sensitive information, or private data.
they don't no reason: resource file default not encrypted or obfuscated, program resource editor, msil.exe, or justdecompile can see contents of resource file.
you can apply encryption using sort of key, again you'd have store key somewhere decrypt resources. key subject same problems: securely store that, attacker can't use decrypt resources?
it's nigh impossible if have distribute program, alternate solution. perhaps explaining you're trying helps towards useful answer.
Comments
Post a Comment