Protection of code
Submitted by alkanadi on Thu, 08/04/2016 - 18:17
Forums:
Since some of the H5P is server side, does that mean that my code is relatively protected. If I don't want it to be downloadable, is there a way for pirates to get it anyway?
fnoks
Fri, 08/05/2016 - 08:43
Permalink
RE: Protection of code
I am assuming you are talking about an H5P Content Type's code?
An H5P Content Type's code is executed in the browser, which means it has to be downloaded. So, the simple answer is that you can't protect the JavaScript code. There are tools that make the JavaScript code harder to understand, though.