Protection of code

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's picture

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.