PDA

View Full Version : EXT : Preventing code



barmat.ali
1 Dec 2008, 3:47 AM
I noticed that my Ext js code is available for every one, a very simple knowldge of firebug or something like it will display my code, file per file ...

this may be dangerous if my strores, readers ... has the same data scheme in my server side code as well as database

is there any way to prevent this...

evant
1 Dec 2008, 3:49 AM
You can do things like compress and obfuscate your code, but no, if someone REALLY wants to get it, they will.

The obvious answer is don't store anything that you don't want the user to see on the client.

barmat.ali
1 Dec 2008, 4:08 AM
Thanks for replying,

but, how to compress and obfuscate the code ( I suppose it's like ext-all.js and ext-all-debug.js )

but how to do that?

Animal
1 Dec 2008, 4:10 AM
http://www.julienlecomte.net/yuicompressor/