Re: [jruby-user] Source Code Encryption

Karol Bucek <[email protected]> Tue, 5 May 2015 09:34:28 +0200
Newsgroups gmane.comp.lang.jruby.user
Message-ID <CAOcitD+DdzFm03VqpTz8H2fqdXiaj_DAjmweaQstd3qQF4RUOw@mail.gmail.com>
--001a1133c0b4620b57051550b550
Content-Type: text/plain; charset=UTF-8

 Chances are you're already using Warbler to generate a .war ... just try
it's compiled feature.

It will pre-compile all .rb files into -> .class ones and replace .rb
file's content to load the compiled .class.

If you're really into it you can further obfuscate with tools such as
Proguard, although I would be a little cautious there.

K.

On Tue, May 5, 2015 at 8:13 AM, Kengsreng Tang <[email protected]> wrote:

> How to encrypt source code deployed on Apache Tomcat?
>
> I using rails on jruby deployed on client machine, and I want to prevent
> client from hacking my source code.
>
> Any ideas?
>
> Thanks
> Kengsreng
>
> --
> Posted via http://www.ruby-forum.com/.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

--001a1133c0b4620b57051550b550
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><br></div>=C2=A0Chances are you&#39;re=
 already using Warbler to generate a .war ... just try it&#39;s compiled fe=
ature.<br><br></div>It will pre-compile all .rb files into -&gt; .class one=
s and replace .rb file&#39;s content to load the compiled .class.<br><br></=
div>If you&#39;re really into it you can further obfuscate with tools such =
as Proguard, although I would be a little cautious there.<br><br></div>K.<b=
r><div><div><div><div><div><div class=3D"gmail_extra"><br><div class=3D"gma=
il_quote">On Tue, May 5, 2015 at 8:13 AM, Kengsreng Tang <span dir=3D"ltr">=
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">lists@ruby-fo=
rum.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How to encr=
ypt source code deployed on Apache Tomcat?<br>
<br>
I using rails on jruby deployed on client machine, and I want to prevent<br=
>
client from hacking my source code.<br>
<br>
Any ideas?<br>
<br>
Thanks<br>
<span class=3D"HOEnZb"><font color=3D"#888888">Kengsreng<br>
<br>
--<br>
Posted via <a href=3D"http://www.ruby-forum.com/" target=3D"_blank">http://=
www.ruby-forum.com/</a>.<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
=C2=A0 =C2=A0 <a href=3D"http://xircles.codehaus.org/manage_email" target=
=3D"_blank">http://xircles.codehaus.org/manage_email</a><br>
<br>
<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></=
div>

--001a1133c0b4620b57051550b550--