Hiding Javascript Code

S

skarnath

I have some javascript i don't want the client to be able to view. is there
a method of hiding the code vs disableing the right click button?
Once again thanks in advance.
SMK
 
M

Michael Winter

I have some javascript i don't want the client to be able to view. is there
a method of hiding the code vs disableing the right click button?
No.

Once again thanks in advance.

You're welcome.

Mike
 
B

bwucke

No.

Oh, but I disagree. Run some javascript interpreter on the server side.
Or just don't give the client the javascript. Or disable his right
button, left button, keyboard, harddrive and monitor. And network.

Actually, there's a whole lot of methods of hiding Javascript. None
works.
 
E

Evertjan.

wrote on 22 dec 2005 in comp.lang.javascript:
Oh, but I disagree. Run some javascript interpreter on the server side.
Or just don't give the client the javascript. Or disable his right
button, left button, keyboard, harddrive and monitor. And network.

Actually, there's a whole lot of methods of hiding Javascript.

None works.

Oh, but I disagree.

Run serverside javascript under ASP as you hinted at above,
and the code is perfectly hidden from the client.
 
B

bwucke

encryption is probably possible, but that's not the same thing...

If it's to be executed, it must be decrypted first. And if the client
can decrypt it for purpose of execution, they can decrypt it for
purpose of viewing.

Better just write code you won't be ashamed to show to your clients.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top