Results 1 to 5 of 5

Thread: Why is it important to sign the assembly?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2008
    Location
    Dominican Republic
    Posts
    733

    Cool Why is it important to sign the assembly?

    Hello,

    I saw one post on which someone was recommended to sign he's assembly, why is this important?

    Thanks in advance!
    "In our profession, precision and perfection are not a dispensable luxury, but a simple necessity."
    Niklaus E. Wirth


    Rate any post that helped you, it's a good way of saying thanks
    Please specify your Visual Studio Version!

    Why rating is useful

    My Code Bank Submissions: How to determine Windows Version| Working With Mouse Events | Blocking Input Using API | Get host's IP | Minimize to system tray "animated" | Colored ListBox (custom fonts, colors, highlight) Updated -New Class! | [VS 2008] Strong encryption and hashing class - Updated! 31/August/2009 | Create a shortcut using IWshRuntimeLibrary

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Why is it important to sign the assembly?

    Signing an assembly uniquely identifies that assembly. Anyone can then use that assembly and know that it is the original assembly from you. It ensures that noone can tamper with the assembly or substitute another that does something bad and pass it off as yours.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2008
    Location
    Dominican Republic
    Posts
    733

    Re: Why is it important to sign the assembly?

    Hey John, thanks for the quick answer... Is there anyway to view the signing after the app is built?
    "In our profession, precision and perfection are not a dispensable luxury, but a simple necessity."
    Niklaus E. Wirth


    Rate any post that helped you, it's a good way of saying thanks
    Please specify your Visual Studio Version!

    Why rating is useful

    My Code Bank Submissions: How to determine Windows Version| Working With Mouse Events | Blocking Input Using API | Get host's IP | Minimize to system tray "animated" | Colored ListBox (custom fonts, colors, highlight) Updated -New Class! | [VS 2008] Strong encryption and hashing class - Updated! 31/August/2009 | Create a shortcut using IWshRuntimeLibrary

  4. #4
    Member
    Join Date
    Sep 2009
    Posts
    36

    Re: Why is it important to sign the assembly?

    Strong name is similar to GUID(It is supposed to be unique in space and time) in COM
    components.Strong Name is only needed when we need to deploy assembly in GAC. Strong
    Names helps GAC to differentiate between two versions. Strong names use public key cryptography
    (PKC) to ensure that no one can spoof it.PKC use public key and private key concept.

  5. #5
    Member
    Join Date
    Sep 2009
    Posts
    36

    Re: Why is it important to sign the assembly?

    When it comes to understanding of internals nothing can beat ILDASM. ILDASM basically converts
    the whole exe or dll in to IL code. To run ILDASM you have to go to "C:\Program Files\MicrosoftVisual Studio .NET 2003\SDK\v1.1\Bin". Note that i had v1.1 you have to probably change it
    depending on the type of framework version you have.
    If you run IDASM.EXE from the path you will be popped with the IDASM exe program as
    shown in figure ILDASM. Click on file and browse to the respective directory for the DLL
    whose assembly you want to view. After you select the DLL you will be popped with a tree view
    details of the DLL as shown in figure ILDASM. On double clicking on manifest you will be able
    to view details of assembly, internal IL code etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width