Christine said:
b) Making it at least HARDER to understand the code on the client side
(political reasons...)
I am suddenly 'right there with you' when you mention
'political reasons'.
I hope you fought long and hard against them, and warned
the deployers/owners of this system that they should really
remove their hands from their genitals* long enough to think
about what they are requesting/demanding.
* Intended, with all due, or undue (depending on your
perspective), sarcasm. Tell them, from me, (should you
dare) that they are a bunch of clueless wankers that
should *hire* a clue (presuming they are not prepared to
trust the judgement of an apparently quite sensible
developer, yeah, *you*, who advises differently).
OK.. I realise this reply has not exactly progresssed
the thechnical point. Just had to get that out of my
system.
Having said that, there are any number of tools can
be used to turn common JS into 'onbfuscated' JS -
try a search on 'obfuscate JS' or 'obfuscate javascript'
and you will probably see some useful tools.
These tools do not *prevent* people from reverse
engineering JS, but thay can make it so difficult that
it is easier and quicker to write the JS fresh, than
'interpret' the obfuscated JS
(Note that all this applies almost equally as well,
to Java bytecodes, which are *almost* as easy to
'reverse engineer' as 'any old' JS.)
..and did I mention that whoever specifies this
system, is a wanker? (just checking..)
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200708/1