Code Protection

Hi everyone!

The project which I’m working on is going to be installed in several
clients side.
Do you know if it exists any way of protecting our code?

Thanks a lot in advance!

Monica

As of now I don’t believe there are any ways to obfuscate or compile
Rails
applications. This is why most people host the applications instead of
installing to client sites.

This has been discussed before… I suggest searching the archives for
some
really good discussions about this topic.

-Brian

Here is one method of compiling Ruby. I haven’t used it and would be
interested in hearing from anyone who has:

http://www.erikveen.dds.nl/rubyscript2exe/index.html

Regards,
Dave


Information and Educational Technology
Kwantlen University College - 604-599-2120
“So powerful is the light of unity that it can illuminate the whole
earth.” --Bahá'u’lláh

[email protected] wrote on 22-05-2007 10:37:20 AM:

As of now I don’t believe there are any ways to obfuscate or
compile Rails applications. This is why most people host the
applications instead of installing to client sites.

This has been discussed before… I suggest searching the archives
for some really good discussions about this topic.

-Brian

I’ve used this several times; it’s a great way of packaging a
Windows-based Ruby app into a single EXE file. I’ve used this
capability as a selling point for getting Ruby into various places
that I’ve worked.

However, it’s not appropriate for “hiding” source code - anyone with
an editor can open the EXE file and find the source without
difficulty.

Regards

Dave M.

On 5/23/07, David M. wrote:

However, it’s not appropriate for “hiding” source code - anyone with
an editor can open the EXE file and find the source without
difficulty.

And even without an editor! From the obfuscation point of view, it
works just like a zip file…

http://www.erikveen.dds.nl/rubyscript2exe/index.html#appdir

  • H

Thanks to everyone for your posts!!

No it will not “speed up” rails app. ruby2exe doesn’t create native
byte code, it merely compresses the files and copies ruby and other
required lib in one package.

On 5/23/07, Mohit S. [email protected] wrote:

capability as a selling point for getting Ruby into various places
On 23/05/07, David D. [email protected] wrote:

Kwantlen University College - 604-599-2120

for some really good discussions about this topic.
The project which I’m working on is going to be installed in several


rm -rf / 2>/dev/null - http://null.in

Dont judge those who try and fail, judge those who fail to try…

Has this been tried to see if it “speeds up” a Rails app (specially on
Windows)?

Cheeers
Mohit