Protecting VBScript/CATScript from viewing
  Forum
Posted by: gpriyavct ®

04/14/2010, 06:28:07


We did Design Automation in CATIA V5 using Macros (VBScript/CATScript), We would like to know how the Source Code to be protected from viewing by the End User but should be executable.









 

Replies to this message

Re: Protecting VBScript/CATScript from viewing
Re: Protecting VBScript/CATScript from viewing -- gpriyavct Post Reply Top of thread Forum
Posted by: Kelly Bramble ®

04/14/2010, 08:56:40

Author Profile
eMail author
Edit

I'm not sure about CATIA macro's, however script protection is done in a variety of ways.

You could convert the code to ASCI equivalent or compile into binary.

You should also contact CATIA an dask what they recommend.








Post Reply
Tell a Friend (must be logged in)
Alert Admin About Post
Where am I? Original Top of thread |
Re: Re: Protecting VBScript/CATScript from viewing
Re: Re: Protecting VBScript/CATScript from viewing -- Kelly Bramble Post Reply Top of thread Forum
Posted by: Pinkerton ®

04/21/2010, 11:29:33

Author Profile
eMail author
Edit

As Kelly mentions, there are many free VBScript compilers, some free ones too. Whether CATIA will allow an .EXE file to run as a macro is another thing as the VBScript is normally compiled line by line at run time. A call to DS or check their website will tell more. They may have "add-in" or "plug-in" functionality, but what's to stop someone passing that "add-in" around free?

The thing is though, an .EXE file can easily be de-compiled back to VBScript. As can pretty much any other program back to the native language. Often you can spend too much time protecting stuff that does not need protecting. I spent 3+ months writing a protection unit for my Shareware only to have it cracked in days.

Most customers are honest and if you continue to update and add functionality then the crackers give up. It is more of an esoteric exercise to them the first time, than a commercial issue.

Dave








Post Reply
Tell a Friend (must be logged in)
Alert Admin About Post
Where am I? Original Top of thread   |

Powered by Engineers Edge

© Copyright 2000 - 2024, by Engineers Edge, LLC All rights reserved.  Disclaimer