protection of add-on

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

Moderator: andrew

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

protection of add-on

Postby 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
Site Admin
Posts: 5126
Joined: Fri Mar 30, 2007 6:07 am

Postby 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.

Return to “QCAD Developers and Contributors”

Who is online

Users browsing this forum: Google [Bot] and 2 guests