Hiding your JS Code
Posted 09 August 2006 - 08:54 AM
As the subject says, I do not want to show my .js files to anyone. I put them in different files and I think I should encode them. I found some encoders which I will give a try to them and it seems the most powerful way is to encode with more then one encoders. But even this is not enough as all the encoded codes can be cracked with enough time and dedication!
So what do you do to protect your js codes (or your intellectual property should I say)? What encoders do you use? Or what kind of things you do or you just give up, and put them as they are?
Posted 09 August 2006 - 09:26 AM
Posted 09 August 2006 - 01:25 PM
Bah I think I give up too easy and too fast. Anyway thanks for the link.
Posted 09 August 2006 - 09:59 PM
as for right click blocking, ... view->page source or file->save as
your best bet is just going with obfuscation because your script probably wouldnt be worth the time to decrypt it.
Posted 10 August 2006 - 09:28 AM
I know there are lots of ways to coping anything that is posted on the web. And thats why you put them to the internet, to publish them! But no one can see my php code nor jsp neither asp codes. As they are parsed or compiled on the server side, it's hidden to me whatever I do. So I can use my encryption algortihm there and then everything would fine.
I have read lots of articles telling hat ajax in insecure. As it's mostly a client-side scripting and every client can be tricked easily. Even though I have no intension using ajax while entererin or updateing something to db just select commands, I also want to secure them too. Why should I let someone to see any info from my database? I have also looked what was saja doing for security but they just meant, we are trying to prevent functions being called by unauthorized people but we are not protecting your data! It was mostly doing them via session management. Anyone who can trick the sessions is able to trick saja too then.
As I read more and more I see that js can only be obfuscated, which can be decoded with enough dedication. And I will change my data encryption idea to something else and will use something with session managements and other things I think.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users