Does .NET detect alterations to an assembly?

From: David Thom (davidt@npsinc.com)
Date: 02/14/03


From: "David Thom" <davidt@npsinc.com>
Date: Fri, 14 Feb 2003 08:21:13 -0600


If an assembly were altered - say, with a hex editor - does .NET detect the
alteration?

If, for example, we embed a string value in a .NET assembly, can it be
changed by a hacker? (we don't care if it can be viewed, we just don't want
it to be changed).

I seem to recall that .NET assemblies have a "hash count/code" to protect
against this. But I don't know if that "feature" requires code signing or
some other overt action on the developer's/deployer's part in order to
activate it.

If I simply create a .NET assembly and do nothing else, is it protected
against modification? Or should I say, will the alteration at least be
detected?

Thanks!

David Thom



Relevant Pages