Re: Strong names - are these cryptographic??
From: Daniel Fisher\(lennybacon\) (info_at_(removethis)lennybacon.com)
Date: 09/28/04
- Next message: Daniel Fisher\(lennybacon\): "Re: Role based security"
- Previous message: Shabam: "Re: SQL Injection Prevention"
- In reply to: Sholto Douglas: "Strong names - are these cryptographic??"
- Next in thread: Sholto Douglas: "Re: Strong names - are these cryptographic??"
- Reply: Sholto Douglas: "Re: Strong names - are these cryptographic??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 28 Sep 2004 11:42:32 +0200
Hi Sholto
1. You can allways create a stong name assembly without a VeriSignID.
use Sn.exe
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfStrongNameUtilitySNexe.asp
2. You can sign an with a VeriSignID assembly by using the SignCode.exe
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfFileSigningToolSigncodeexe.asp
Michael Willers posted this yesterday:
... strong name garanties referal integrity by providing a unique name.
That's
why versioning works with a strong name only. In addition it garanties code
integrity. It uses public key encryption to create a digital signature that
contains a hash of the assembly. At load time the CLR creates a hash again
and "extracts" the hash embedded in the signature by using the public key.
It then compares both hashes and if they are not equal the assembly has been
tampered with. In this case the CLR will not load it and as a result no code
gets executed. So in order to modify the assembly you need to have the
private key.
This is how a strong name provides code integrity. But where did the
assembly come from? There is no proven identity. And this is where
certificates come into play. They bind a public key to an identity.
So the decision is up to you: If you know the issuer of the assembly
personally and trust him there is no need for a certificate. If not, then
certificates are the way to go....
For more visit his blog http://staff.newtelligence.net/michaelw/
-- Daniel Fisher(lennybacon) MCP C# ASP.NET Blog: http://www.lennybacon.com/
- Next message: Daniel Fisher\(lennybacon\): "Re: Role based security"
- Previous message: Shabam: "Re: SQL Injection Prevention"
- In reply to: Sholto Douglas: "Strong names - are these cryptographic??"
- Next in thread: Sholto Douglas: "Re: Strong names - are these cryptographic??"
- Reply: Sholto Douglas: "Re: Strong names - are these cryptographic??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|