Results 1 to 5 of 5

Thread: How do I hide/protect ActiveX source code?

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    How do I hide/protect ActiveX source code?

    I am fairly new to ActiveX programming, but am in process of starting to design what will probably be an ActiveX control done in VB Script, that will be available for use / download inside of Internet Explorer. The code is not going to be overly complex, but the code and its underlying idea may have some commercial value, so I don't want other users to be able to copy it. At least I want it to be difficult to copy / see the source code.

    I have googled everywhere in order to find a solution on how to protect the code, or how to make it possible for users not to see the source code, but I haven't found any solutions. I don't want the user to have to run an EXE file or DLL file to install anything (that would deter users), but at the same time I don't want them to see the source code. Can anyone recommend a good way of doing that? Would be very grateful if so. Regards, Erik

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How do I hide/protect ActiveX source code?

    Welcome to the forums.

    The only way to ensure source code protection is to compile it.

    If you leave it in raw source, I can guarentee you someone will, if they want to, find a way to get it.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    Re: How do I hide/protect ActiveX source code?

    That makes sense - thank you. So I guess that means that it would be practially impossible to find the source code if I distribute it as compiled...? cheers

  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: How do I hide/protect ActiveX source code?

    Even Adobe and MS have their applications decompiled, stripped of licencing and repackaged. It's a never ending battle and I don't think there is any 100% failsafe way of protecting your code. There are obfuscator applications which help with this - with a range of few successes but generally a compile will be good enough.

    At least I want it to be difficult to copy / see the source code.
    For your comment there, compilation will easily fit the bill. The range of those skilled enough to decompile it are extremely rare and it wouldn't be worth their time on an activex control so you should be safe enough there.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    Re: How do I hide/protect ActiveX source code?

    Gotcha - Thanks a lot

    Erik S

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