[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Hiding RoR code in commercial application

Ralph Klimski

9/10/2007 6:51:00 PM

Is there any possibility to hide my RoR code in commercial application?
Some kind of precompiling or something like that? It's neccessary if I
want to sell my appliaction to commercial client and I don't want he see
my code - to prevent to sell it by my client to another client, etc.
What do you reccomend
--
Posted via http://www.ruby-....

4 Answers

Rob Sanheim

9/10/2007 7:21:00 PM

0

Mingle does this, now. The ruby/rails code is encrypted and must get
decrypted on the fly somehow. As always, this kind of thing is never
100% foolproof...

http://studios.thoughtworks.com/mingle-project-in...

- Rob
--
http://robs...


On 9/10/07, Ralph Klimski <rklimski@interia.pl> wrote:
> Is there any possibility to hide my RoR code in commercial application?
> Some kind of precompiling or something like that? It's neccessary if I
> want to sell my appliaction to commercial client and I don't want he see
> my code - to prevent to sell it by my client to another client, etc.
> What do you reccomend
> --
> Posted via http://www.ruby-....
>
>

Jeremy Woertink

9/10/2007 7:23:00 PM

0

You can't compile it, but what a lot of people do is have the program
hosted and then sell the use of the application, so they have to come
to you for any changes. 37signals.com does this. They sell a
subscription to backpack, or campfire and so forth.


~Jeremy

On Sep 10, 11:51 am, Ralph Klimski <rklim...@interia.pl> wrote:
> Is there any possibility to hide my RoR code in commercial application?
> Some kind of precompiling or something like that? It's neccessary if I
> want to sell my appliaction to commercial client and I don't want he see
> my code - to prevent to sell it by my client to another client, etc.
> What do you reccomend
> --
> Posted viahttp://www.ruby-....


Marcin Raczkowski

9/10/2007 8:44:00 PM

0

Ralph Klimski wrote:
> Is there any possibility to hide my RoR code in commercial application?
> Some kind of precompiling or something like that? It's neccessary if I
> want to sell my appliaction to commercial client and I don't want he see
> my code - to prevent to sell it by my client to another client, etc.
> What do you reccomend

write proper license, or mayby you are using GPLed libraries in your
commercial product and can't do that? :P

but seriously there's 2 ways to do that now, ruby2c (you have to pay for
program that does this automatically)
compile to JavaVM code and run with jruby.

if you can't do that and you use only your own libraries, you can just
make license that prohibits reseling your product - simple and easy.

greets

Kevin Brown

9/10/2007 11:20:00 PM

0


google: ruby obfuscator

I have no first hand experience with an obfuscator for Ruby, but for Java, they seem to work well.

---Original Message-----
From: Marcin Raczkowski [mailto:mailing.mr@gmail.com]
Sent: Mon 9/10/2007 4:43 PM
To: ruby-talk ML
Subject: Re: Hiding RoR code in commercial application

Ralph Klimski wrote:
> Is there any possibility to hide my RoR code in commercial application?
> Some kind of precompiling or something like that? It's neccessary if I
> want to sell my appliaction to commercial client and I don't want he see
> my code - to prevent to sell it by my client to another client, etc.
> What do you reccomend

write proper license, or mayby you are using GPLed libraries in your
commercial product and can't do that? :P

but seriously there's 2 ways to do that now, ruby2c (you have to pay for
program that does this automatically)
compile to JavaVM code and run with jruby.

if you can't do that and you use only your own libraries, you can just
make license that prohibits reseling your product - simple and easy.

greets