protection of add-on

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
kurtforrester
Newbie Member
Posts: 3
Joined: Wed Mar 30, 2011 2:21 pm

protection of add-on

Post by kurtforrester » Wed Sep 28, 2011 4:54 pm

Is it possible to protect a ecma script from viewing/copying if I were to develop and add-on for QCAD 3?

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Post by andrew » Wed Sep 28, 2011 5:45 pm

The situation is the same as with JavaScript on the Internet. If QCAD can access your scripts, so can any QCAD user.

Note that JavaScript and ECMAScript are the same.

You could use a JavaScript scrambler/compressor to make your code harder to read (for example YUI Compressor). The code is of course still there and it can still be copied like any file. There are also decompressiors / descramblers available as one might expect.

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”