none
Is password protection for VSTO Project required? RRS feed

  • Question

  • Hi, is password protection for VSTO Project required?

    I build a test VSTO Add-in and installed it in my machine now when I searched my program files and found out that the file is viewable in Visual Studio.
    I was thinking the code is auto protected.
    How can I make the code not viewable from users machine?

    Or how does this work?
    Thanks and regards,
    PEdie


    • Edited by Pedie Nz Wednesday, November 14, 2012 12:54 PM
    Wednesday, November 14, 2012 12:53 PM

Answers

  • Hi Pedie

    All .NET code is readable, unlike code "old-fashioned" COM programs that is usually written to a proprietary, binary file format.

    The only way to make .NET code more difficult to "crack" is to obfuscate it. This doesn't protect it completely, but does make it more difficult to read. If you search the Internet on obfuscation you'll find more information. There's also a post pinned to the top of this forum that discusses obfuscation in regards to document-level customizations: http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/81be6cc4-11a7-402a-97cf-8124405510e4


    Cindy Meister, VSTO/Word MVP, my blog

    • Marked as answer by Pedie Nz Wednesday, November 14, 2012 2:32 PM
    Wednesday, November 14, 2012 2:15 PM
    Moderator

All replies