views:

55

answers:

4

I am coding a data intense web app. So that means I cant be possibly doing any computations on sever- computation after every event involves huge data too large to be sent to sever again & again.

So I have to do all execution & keep all data on clint side only. Currently I am using JS to do so. Is there a way by which I can protect my js files & data so that no one has (atleast an easy) access to it ?

Is there some other way of putting (except JS) to put logic & data on client & conceal them ?

thanks,

+1  A: 

Take a look here.

Anders
+1  A: 

You cannot protect javascript files.

--

I'm not aware of the specifics of your application, but there is almost certainly a way for the user to manipulate the data while it resides on your server.

You should open a new question with more details about your app.

Joel L
+2  A: 

Rather than using javascript for the client side logic, perhaps you could use an applet which was compiled from obfuscated java source code.

btreat
Nikhil Garg
Yes. The applet can make an HTTP call back to the server.
btreat
+1  A: 

As far as your logic is concerned, you can use minification tools to make the code a bit hard to figure. This in no way shape or form completely protects your code, but just another tactic to fight back.

Babiker