I am building a small business which revolves around a complex form. So far, I’ve been developing the form in Javascript. However, the fact that js is client side pretty much means all my efforts are exposed to possible theft. I’ve looked into obfuscation techniques, but due to the fact that there are de-obfuscators out there, securing the intellectual property is dicey at best.
Is there any way to secure my js code from theft? Is copyrighting or trademarking the code a feasible alternative? This project is pretty much of a niche, so if a competitor who used similar code suddenly appeared, it wouldn’t be all that difficult to check. However, if someone else used my code as the basis for a server side app, then I’d be pretty much screwed. If js is not a viable language to develop in, is there a server side language which could do the job? What pitfalls await the project on the server side?
Any help would be appreciated!
Here’s how to secure your intellectual property from theft: Don’t write your code in client-side javascript.
The choice of server-side language is a bit broad in scope, but if you prefer javascript you can implement your “secret/proprietary” functionality as a webservice using Node.js and then make calls against that from your actual form (either via traditional postback or via AJAX).