Hey folks- If I wanted to distribute my code to users that would run the code on their own machine, how could I go about encrypting the source to run on a user''s machine? PHP has the Zend Encoder among others, I believe. Is there anything similar for Ruby? Jake -- Posted via ruby-forum.com.
Jake Janovetz wrote:> Hey folks- > > If I wanted to distribute my code to users that would run the code on > their own machine, how could I go about encrypting the source to run on > a user''s machine? > > PHP has the Zend Encoder among others, I believe. Is there anything > similar for Ruby?Not yet. Expect that to happen soon after Ruby 2.0 gets released (I don''t know of any specific projects, but there''s a market force and the architecture should allow it). The current Ruby interpreter doesn''t do a bytecode compilation, so there''s no intermediate to save. -- Alex
Alex Young wrote:> Jake Janovetz wrote: >> Hey folks- >> >> If I wanted to distribute my code to users that would run the code on >> their own machine, how could I go about encrypting the source to run on >> a user''s machine? >> >> PHP has the Zend Encoder among others, I believe. Is there anything >> similar for Ruby? > Not yet. Expect that to happen soon after Ruby 2.0 gets released (I > don''t know of any specific projects, but there''s a market force and the > architecture should allow it). The current Ruby interpreter doesn''t do > a bytecode compilation, so there''s no intermediate to save.Great. Thanks. I remembered reading about a bytecode implementation but I wasn''t entirely sure how that would fit in. It seems that some folks have been able to reverse the Zend Encode stuff. Is that a bytecode implementation or some other form of decrypt-before-interpret thing? Jake -- Posted via ruby-forum.com.
Not to make light of what you''re trying to do, but most commercial Java applications (including the one that pays for my salary) are trival to reverse engineer and no one worries about it much. The various solutions are limited and bring their own headaches. Are you sure you need to hide your code? On 3/21/06, Jake Janovetz <jake@janovetz.com> wrote:> > Alex Young wrote: > > Jake Janovetz wrote: > >> Hey folks- > >> > >> If I wanted to distribute my code to users that would run the code on > >> their own machine, how could I go about encrypting the source to run on > >> a user''s machine? > >> > >> PHP has the Zend Encoder among others, I believe. Is there anything > >> similar for Ruby? > > Not yet. Expect that to happen soon after Ruby 2.0 gets released (I > > don''t know of any specific projects, but there''s a market force and the > > architecture should allow it). The current Ruby interpreter doesn''t do > > a bytecode compilation, so there''s no intermediate to save. > > Great. Thanks. I remembered reading about a bytecode implementation > but I wasn''t entirely sure how that would fit in. > > It seems that some folks have been able to reverse the Zend Encode > stuff. Is that a bytecode implementation or some other form of > decrypt-before-interpret thing? > > Jake > > -- > Posted via ruby-forum.com. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: wrath.rubyonrails.org/pipermail/rails/attachments/20060321/34a9f72a/attachment.html
Jake Janovetz wrote:> It seems that some folks have been able to reverse the Zend Encode > stuff. Is that a bytecode implementation or some other form of > decrypt-before-interpret thing?Looks like bytecode to me, although I haven''t played with it myself. -- Alex
Jake Janovetz
2006-Mar-21 17:54 UTC
[Rails] Re: Re: Encrypting source / application licensing
Larry White wrote:> Not to make light of what you''re trying to do, but most commercial Java > applications (including the one that pays for my salary) are trival to > reverse engineer and no one worries about it much. The various > solutions > are limited and bring their own headaches. > > Are you sure you need to hide your code?Locks on a house, I guess. You get rid of a lot of folks just by having some mild deterrant. How does the Google Appliance protect their source? Or the Joyent Connector? -- Posted via ruby-forum.com.