Perhaps by encrypting the Javascript files and providing a mechanism for them to be decrypted by the browser internally?
Don't get me wrong, I'm all for open source and openness but for some companies it just does not fit the culture.
1–10 of 12 posts
Perhaps by encrypting the Javascript files and providing a mechanism for them to be decrypted by the browser internally?
Don't get me wrong, I'm all for open source and openness but for some companies it just does not fit the culture.
If you want to make it really difficult to "steal" code just run it through a minifer. You'll never really be able to hide what a script is doing though. If you want logic not to be user-known and very likely user-modifiable you -must- make it server side. If this weren't the case DRM would actually work ;)
They've almost always reinvented some part of jQuery or a well know plugin and done it badly.
Putting the ethical questions aside, if browsers allowed javascript encryption and company X has a program that "frombulates widgets" and they want to protect their code from their main competitor Y, such encryption would present a valuable obstacle, even if it may not be 100% impossible to crack.