Is using an obfuscator enough to secure my JavaScript code?

后端 未结 9 2231
无人共我
无人共我 2020-12-13 01:04

I\'m working on building a development tool that is written in JavaScript.

This will not be an open source project and will be sold (hopefully) as a commercial produ

9条回答
  •  不知归路
    2020-12-13 01:43

    That's probably about the best you can do. Just be aware that anybody with enough dedication, can probably de-obfuscate your program. Just make sure you're comfortable with that before embarking on your project. I think the biggest problem with this would be to control who's using it on their site. If somebody goes to a site with your code on it, and likes what it does, it doesn't matter that they don't understand what the code does, or can't read it, when they can just copy the code, and use it on their own site.

提交回复
热议问题