decompiled .net or VB6?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Elhanan

    decompiled .net or VB6?

    hi..

    i'm about to create a small winform application, the code in it is
    rather sensitive, and since i read lots of stuff of how easy it is to
    decompile an assembly, and how a winform application is not suitable
    for commercial products, i'm thinking about doing it in vb6 (it does
    use tables in ms-access but i was thinking in using database password
    and encrypting the database).

    am i wrong?
    (actually my primary intent was to have all the logic reside in a
    webserive as all this program does is to accept a few data, do lots of
    numbering and output a single number as a result).

  • Carlos J. Quintero [.NET MVP]

    #2
    Re: decompiled .net or VB6?

    You can do some tests decompiling your .NET exe with Reflector for .NET
    (http://www.aisto.com/roeder/dotnet/), then trying an obfuscator and
    decompiling it again to notice the difference. If you are not satisfied with
    the obfuscation, then you can use a Web service, a VB6 exe, or an unmanaged
    DLL called from .NET.

    --

    Best regards,

    Carlos J. Quintero

    MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
    You can code, design and document much faster.
    Free resources for add-in developers:
    MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.



    "Elhanan" <emaayan@hotmai l.com> escribió en el mensaje
    news:1117035267 .201273.214560@ g49g2000cwa.goo glegroups.com.. .[color=blue]
    > hi..
    >
    > i'm about to create a small winform application, the code in it is
    > rather sensitive, and since i read lots of stuff of how easy it is to
    > decompile an assembly, and how a winform application is not suitable
    > for commercial products, i'm thinking about doing it in vb6 (it does
    > use tables in ms-access but i was thinking in using database password
    > and encrypting the database).
    >
    > am i wrong?
    > (actually my primary intent was to have all the logic reside in a
    > webserive as all this program does is to accept a few data, do lots of
    > numbering and output a single number as a result).
    >[/color]


    Comment

    • Jon Skeet [C# MVP]

      #3
      Re: decompiled .net or VB6?

      Elhanan <emaayan@hotmai l.com> wrote:[color=blue]
      > i'm about to create a small winform application, the code in it is
      > rather sensitive, and since i read lots of stuff of how easy it is to
      > decompile an assembly, and how a winform application is not suitable
      > for commercial products, i'm thinking about doing it in vb6 (it does
      > use tables in ms-access but i was thinking in using database password
      > and encrypting the database).
      >
      > am i wrong?[/color]

      See http://www.pobox.com/~skeet/csharp/obfuscation.html

      --
      Jon Skeet - <skeet@pobox.co m>
      Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

      If replying to the group, please do not mail me too

      Comment

      • Elhanan

        #4
        Re: decompiled .net or VB6?

        yes i've read obfuscators and i heard that they can mess up
        databinding with datasets , and other subtle probelms.
        the main core of this applications, is insurance pension computation.
        the user interface is very simple, input a few number then get result.
        but imagine a very small error or bug which messes up a computation,
        you'll NEVER be able to figure it out in time.

        it gives me the creeps just thinking about .

        i was thinking on maybe using alading software with USB hasp key, it
        sorta warps your exe checking for key.

        Comment

        • Mark Rae

          #5
          Re: decompiled .net or VB6?

          "Elhanan" <emaayan@hotmai l.com> wrote in message
          news:1117035267 .201273.214560@ g49g2000cwa.goo glegroups.com.. .
          [color=blue]
          > use tables in ms-access but i was thinking in using database password
          > and encrypting the database).
          >
          > am i wrong?[/color]

          About using Access, you most certainly are!



          Comment

          • Jon Skeet [C# MVP]

            #6
            Re: decompiled .net or VB6?

            Elhanan <emaayan@hotmai l.com> wrote:[color=blue]
            > yes i've read obfuscators and i heard that they can mess up
            > databinding with datasets , and other subtle probelms.
            > the main core of this applications, is insurance pension computation.
            > the user interface is very simple, input a few number then get result.
            > but imagine a very small error or bug which messes up a computation,
            > you'll NEVER be able to figure it out in time.[/color]

            Well, I would hope that running all your tests against the obfuscated
            version would find problems like that, but only if you have a test-
            driven approach, maybe.
            [color=blue]
            > it gives me the creeps just thinking about .
            >
            > i was thinking on maybe using alading software with USB hasp key, it
            > sorta warps your exe checking for key.[/color]

            So don't obfuscate - just don't worry about it. Are your internal
            algorithms really *that* sensitive?

            --
            Jon Skeet - <skeet@pobox.co m>
            Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

            If replying to the group, please do not mail me too

            Comment

            • Willy Denoyette [MVP]

              #7
              Re: decompiled .net or VB6?


              "Elhanan" <emaayan@hotmai l.com> wrote in message
              news:1117035267 .201273.214560@ g49g2000cwa.goo glegroups.com.. .[color=blue]
              > hi..
              >
              > i'm about to create a small winform application, the code in it is
              > rather sensitive, and since i read lots of stuff of how easy it is to
              > decompile an assembly, and how a winform application is not suitable
              > for commercial products, i'm thinking about doing it in vb6 (it does
              > use tables in ms-access but i was thinking in using database password
              > and encrypting the database).
              >
              > am i wrong?
              > (actually my primary intent was to have all the logic reside in a
              > webserive as all this program does is to accept a few data, do lots of
              > numbering and output a single number as a result).
              >[/color]

              What exactly do you mean with "rather sensitive", you don't store passwords
              or other sensitive data in code I hope.

              Willy.


              Comment

              • Elhanan

                #8
                Re: decompiled .net or VB6?

                no passwrods, but the algorithm itself for calcluating future pensions
                is rather sensitive, not sure about the tables though.

                Comment

                • Elhanan

                  #9
                  Re: decompiled .net or VB6?

                  what do you suggest then? (i will need to do sql queries on the
                  tables)..

                  Comment

                  • Jon Skeet [C# MVP]

                    #10
                    Re: decompiled .net or VB6?

                    Elhanan <emaayan@hotmai l.com> wrote:[color=blue]
                    > no passwrods, but the algorithm itself for calcluating future pensions
                    > is rather sensitive, not sure about the tables though.[/color]

                    How sensitive is "rather sensitive"? If it can be exploited by people
                    knowing it, you shouldn't provide them with the code in the first
                    place, in any format. Write it in whatever language you like, but if
                    people can run it on their own box, then someone with enough patience
                    will be able to work it out.

                    --
                    Jon Skeet - <skeet@pobox.co m>
                    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

                    If replying to the group, please do not mail me too

                    Comment

                    • John B

                      #11
                      Re: decompiled .net or VB6?

                      Elhanan wrote:[color=blue]
                      > what do you suggest then? (i will need to do sql queries on the
                      > tables)..
                      >[/color]
                      Try MSDE, the "free" version of SQL Server.
                      Do a search on google.
                      JB

                      Comment

                      • Elhanan

                        #12
                        Re: decompiled .net or VB6?

                        thought about MSDE however i'm not comfortable placing a server in a
                        client computer (maybe they will have win98)

                        meanwhile as it turns out the tables themselves are public knowledge so
                        i don't have to worry about that anymore, that only leaves only the
                        code.

                        my options are either a dll in vb6, or turning it into a
                        webservice/webapplicaiton, (off course as a web service the entire
                        table secrutiy becomes void), dll might be a choice becouse not all
                        clients have an internet connection, so that will leave only vb6 or c#,
                        althoguh c# seems enticing, i have no knowledge of client computers
                        (maybe they won't have any framework installed) , while vb6 is known to
                        work on any windows system.

                        Comment

                        Working...