Home All Groups Group Topic Archive Search About
Author
24 Oct 2006 9:11 AM
usenet
I have a DLL which is not in the GAC, but it is signed. What I want to
know is whether somebody could replace my DLL with one of their own
which has the same classes, properties etc. and in every way had an
identical signature but was not signed by me. Would software which used
my DLL still work with the fake DLL? If so would this also be the case
if the DLL were placed in the GAC?

Thanks

Author
24 Oct 2006 2:56 PM
David Browne
<use***@tynemarch.co.uk> wrote in message
news:1161681117.759338.21980@i3g2000cwc.googlegroups.com...
>I have a DLL which is not in the GAC, but it is signed. What I want to
> know is whether somebody could replace my DLL with one of their own
> which has the same classes, properties etc. and in every way had an
> identical signature but was not signed by me. Would software which used
> my DLL still work with the fake DLL?

No.  It's signing, not GAC-ing that guarantees that assemblies referencing
your assembly will only load the authentic .dll.



Users can be sure that a version of the assembly they are loading comes from
the same publisher that created the version the application was built with.

Strong names provide a strong integrity check. Passing the .NET Framework
security checks guarantees that the contents of the assembly have not been
changed since it was built.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconStrong-NamedAssemblies.asp

David

AddThis Social Bookmark Button