<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">What stops people from stealing or
      killing? Easy - nothing, except the law (and morals). <br>
      <br>
      I use to work in the hosting business. What you are basically
      describing amounts to "stealing trade secrets" and is prosecutable
      under the Economic Espionage Act. As mater of fact it's one of
      those acts that gives the U.S. Attorney General some huge,
      sweeping power. Fines can be up to $500,000 for an individual and
      $5,000,000 for a corporation. Having said that, when people are
      hired on at a reputable hosting provider, they are made very aware
      of it and even sign agreements. <br>
      <br>
      So the penalties are in some cases worst than murder. That's a
      pretty good protection. Mainly just stick with a reputable host. <br>
      <br>
      But you are using Drupal, which is open source, meaning the source
      code (minus any custom modules) is available. <br>
      <br>
      There are always ways to reverse engineer code, so even
      obfuscating the code isn't a real protection.&nbsp; <br>
      <br>
      Another consideration. Drupal does come out with security
      releases. Compiling the source code takes extra time and means it
      will take longer to update your site. I would rather be able to
      update my code quickly to protect my customers then worry about
      someone taking the source code. <br>
      <br>
      As far as HipHop, some people have had success and some not. It
      depends on the modules and custom code you use. For research on
      this, I suggest Google.<br>
      <pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a> 
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
      On 12/25/2012 10:26 AM, Austin Einter wrote:<br>
    </div>
    <blockquote
cite="mid:CANXt1k_JNJmKtA2wBQ8iO5BaMOLmaF6n0jsCv+vgttZnQLWuRg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Thanks all for your kind responses.<br>
                    <br>
                  </div>
                  I am new to web world.<br>
                  <br>
                </div>
                I am worried for few things.&nbsp; Lets say I will be taking
                a dedicated server say from rackspace or doster or
                godady and host my site as a commercial one.<br>
                <br>
              </div>
              I would not doubt the companies like rackspace or godady
              ..., but difficult to believe admin engineers who may take
              the source code and give it to somebody else for few
              dollars..,<br>
              <br>
            </div>
            How do we protect such things.., please guide me..., thats
            the reason I would like to obfuscate the code or build the
            exe by using hiphop or phc.<br>
            <br>
          </div>
          <div>Again.., not sure if it is feasible to build drupal using
            hiphop or phc.., has anybody tried and running as commercial
            site...<br>
          </div>
          <div><br>
          </div>
          Thanks<br>
        </div>
        Austin<br>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Dec 25, 2012 at 6:53 PM, Jamie
          Holly <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:hovercrafter@earthlink.net" target="_blank">hovercrafter@earthlink.net</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>Those aren't errors. They are notices. <br>
                <br>
                Since the errors only occur when using PHC, then the
                problem lies in PHC. I would ask on their mailing list.
                <br>
                <br>
                I doubt you would find much help from the Drupal
                Community since obfuscating is generally frowned upon
                (and even consider a violation of terms by some) by the
                open source world and therefor not really used. <br>
                <span class="HOEnZb"><font color="#888888">
                    <pre cols="72">Jamie Holly
<a moz-do-not-send="true" href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a> 
<a moz-do-not-send="true" href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a></pre>
                  </font></span>
                <div>
                  <div class="h5"> On 12/25/2012 5:26 AM, Austin Einter
                    wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>
                              <div>Dear All<br>
                              </div>
                              I compiled phc in ubuntu 10.04 lts.<br>
                            </div>
                            Next I am trying to obfusace some php code
                            (which is part of a drupal based code). I
                            just tried obfuscating a single file using
                            phc. It did&nbsp; work.<br>
                            <br>
                          </div>
                          But when I am trying to access my site, I get
                          bunch of below errors.<br>
                          <br>
                          <i>Notice: Undefined variable: TSa200978216 in
                            doc_search_my_form() (line 475 of /var/www/<a
                              moz-do-not-send="true"
                              href="http://example.com/sites/all/modules/doc_search/doc_search.module"
                              target="_blank">example.com/sites/all/modules/doc_search/doc_search.module</a>).<br>
                            Notice: Undefined variable: TSa1454652404 in
                            doc_search_my_form() (line 482 of /var/www/<a
                              moz-do-not-send="true"
                              href="http://example.com/sites/all/modules/doc_search/doc_search.module"
                              target="_blank">example.com/sites/all/modules/doc_search/doc_search.module</a>).<br>
                          </i><br>
                          <br>
                        </div>
                        Mostly these are variable undefined errors. When
                        the file is in normal mode (having normal php
                        code), it does not throw any error. When the
                        file is in obfuscated mode , when I access my
                        site I get lots of variable undefined error. Any
                        idea what's wrong here.<br>
                        <br>
                      </div>
                      Thanks</div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            --<br>
            [ Drupal support list | <a moz-do-not-send="true"
              href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
            ]<br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>