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-forum.com/.
Don't know if you can precompile the code, but a small amount of security
can be achieved by using Virtual Machines (VMWare, Xain) and keep the code
inside, giving the root password to no one. Of course, it is not even close
to 100% secure. A smart guy would mount the disk image as a secondary HD on
another virtual machine and read the source code for your application, but
at least you can prevent most people from reading the code.
Att,
Dante
···
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-forum.com/\.
The best you can do is obfuscate code, but that would quite possibly
negatively affect runtime and make any sort of debugging much harder. While
you _can_ obfuscate - I will not comment on how as others on this list know
far, far, far more about the topic - in my opinion, the correct solution is
to draw up a contract/license that prohibits such client behaviour.
Felix
···
-----Original Message-----
From: list-bounce@example.com
[mailto:list-bounce@example.com] On Behalf Of Ralph Klimski
Sent: Monday, September 10, 2007 11:51 AM
To: ruby-talk ML
Subject: Hiding RoR code in commercial application
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-forum.com/\.
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-intelligence
- Rob
···
--
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-forum.com/\.
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-forum.com/.
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? 
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
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? 
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