News for hackers. Stuff that matters.
Re:Ask HN: How do you protect your Javascript-powered WebApps? by mistercow on Sunday January 06, 2013 @03:14PM (#5017554)
>Obviously, you can't stop the user from saving the source-code, but I was thinking maybe you can perform some "validation" or "tests" within the JS to see if the editor is live from the intended URL.

Anyone trying to steal your code would simply remove those tests. As MarkR42 said, your main protection is that your production code, by itself, just isn't worth that much.

Re:Ask HN: How do you protect your Javascript-powered WebApps? by neya on Sunday January 06, 2013 @06:30PM (#5018232)
Yep, thanks matey!