MozillaZine

Source Code Encryption?

Talk about add-ons and extension development.
LinkUp
 
Posts: 1
Joined: February 20th, 2007, 9:46 am

Post Posted February 20th, 2007, 9:54 am

I am developing an extension for my company, and they are not overjoyed with the fact that the code, since it's all in JavaScript, would be readable by anyone. Is there any way to make the source code less open? How are the people that sell their extensions commercially able to do this? Or are they just hoping that the code is not stolen?

Thanks for any info.

old np
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted February 20th, 2007, 10:08 am

The only thing you could do would be to obfuscate it, but this isn't really useful because if someone is determined to see your code, that's easy to get around.

The source isn't that special anyway. Even if you could "close source" your program, what's to stop someone from just copying it to a dozen computers?

d~l
 
Posts: 16
Joined: February 23rd, 2005, 4:58 am

Post Posted February 25th, 2007, 3:33 am

Would an embedded Flash (*.swf) asset at least give a bit more protection (although there are Flash decompilers for those determined to reverse engineer the cached *.swf code). And with server side encryption added it will make it harder to crack.

BenoitRen

User avatar
 
Posts: 5926
Joined: April 11th, 2004, 10:20 am
Location: Belgium

Post Posted February 25th, 2007, 7:16 am

How are the people that sell their extensions commercially able to do this?

They don't.

appoloin
 
Posts: 35
Joined: November 27th, 2005, 3:13 pm

Post Posted February 25th, 2007, 11:03 am

BenoitRen wrote:
How are the people that sell their extensions commercially able to do this?

They don't.


If the extension was used to access subscription services on a server then doesn't matter if the code is copied, without a server account the extension is worthless

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 0 guests