<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hiding perl script. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309921#M711852</link>
    <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;Is there any way to hide to perl source code program , so that no one can see the source program.&lt;BR /&gt;&lt;BR /&gt;if i do &lt;BR /&gt;&lt;BR /&gt;# cat secret.p &lt;BR /&gt;it shows the script &lt;BR /&gt;&lt;BR /&gt;Thanks in Advance ..&lt;BR /&gt;&lt;BR /&gt;Regards ,&lt;BR /&gt;Raj. D.&lt;BR /&gt;--------</description>
    <pubDate>Sun, 20 Jun 2004 05:31:49 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2004-06-20T05:31:49Z</dc:date>
    <item>
      <title>Hiding perl script.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309921#M711852</link>
      <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;Is there any way to hide to perl source code program , so that no one can see the source program.&lt;BR /&gt;&lt;BR /&gt;if i do &lt;BR /&gt;&lt;BR /&gt;# cat secret.p &lt;BR /&gt;it shows the script &lt;BR /&gt;&lt;BR /&gt;Thanks in Advance ..&lt;BR /&gt;&lt;BR /&gt;Regards ,&lt;BR /&gt;Raj. D.&lt;BR /&gt;--------</description>
      <pubDate>Sun, 20 Jun 2004 05:31:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309921#M711852</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-06-20T05:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding perl script.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309922#M711853</link>
      <description>Is there any encryption method available ....&lt;BR /&gt;&lt;BR /&gt;And it has to be executable one .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jun 2004 06:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309922#M711853</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-06-20T06:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding perl script.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309923#M711854</link>
      <description>Short answer: No&lt;BR /&gt;&lt;BR /&gt;Medium answer: man perlcc&lt;BR /&gt;&lt;BR /&gt;Long answer: Only hidable to the people that do not know Perl, because Perl has a very good way of showing the code, even if it is pre-compiled, by decomposing the internal structures, so using Perl's native ways of hiding the source code, you won't be able to, and you should not want to be able to&lt;BR /&gt;&lt;BR /&gt;A better way for what you want is make a very small C program that uses a customized crypt/decrypt method to read encrypted perl scripts, and feeds it (internally) to perl.&lt;BR /&gt;&lt;BR /&gt;/My/ opinion: Perl sources should always be readable, since whatever way you try to hide it will only encourage people like me to find ways to decrypt it, just because Perl is not designed to be hidden.&lt;BR /&gt;&lt;BR /&gt;Very long answer:&lt;BR /&gt;--8&amp;lt;---&lt;BR /&gt;# perldoc -q 'How can I hide the source for my Perl program?'&lt;BR /&gt;Found in /pro/lib/perl5/5.8.3/pod/perlfaq3.pod&lt;BR /&gt;       How can I hide the source for my Perl program?&lt;BR /&gt;&lt;BR /&gt;       Delete it. :-) Seriously, there are a number of (mostly&lt;BR /&gt;       unsatisfactory) solutions with varying levels of ``secuï¿½&lt;BR /&gt;       rity''.&lt;BR /&gt;&lt;BR /&gt;       First of all, however, you can't take away read permisï¿½&lt;BR /&gt;       sion, because the source code has to be readable in order&lt;BR /&gt;       to be compiled and interpreted.  (That doesn't mean that a&lt;BR /&gt;       CGI script's source is readable by people on the web,&lt;BR /&gt;       though--only by people with access to the filesystem.)  So&lt;BR /&gt;       you have to leave the permissions at the socially friendly&lt;BR /&gt;       0755 level.&lt;BR /&gt;&lt;BR /&gt;       Some people regard this as a security problem.  If your&lt;BR /&gt;       program does insecure things and relies on people not&lt;BR /&gt;       knowing how to exploit those insecurities, it is not&lt;BR /&gt;       secure.  It is often possible for someone to determine the&lt;BR /&gt;       insecure things and exploit them without viewing the&lt;BR /&gt;       source.  Security through obscurity, the name for hiding&lt;BR /&gt;       your bugs instead of fixing them, is little security&lt;BR /&gt;       indeed.&lt;BR /&gt;&lt;BR /&gt;       You can try using encryption via source filters (Starting&lt;BR /&gt;       from Perl 5.8 the Filter::Simple and Filter::Util::Call&lt;BR /&gt;       modules are included in the standard distribution), but&lt;BR /&gt;       any decent programmer will be able to decrypt it.  You can&lt;BR /&gt;       try using the byte code compiler and interpreter described&lt;BR /&gt;       below, but the curious might still be able to de-compile&lt;BR /&gt;       it.  You can try using the native-code compiler described&lt;BR /&gt;       below, but crackers might be able to disassemble it.&lt;BR /&gt;       These pose varying degrees of difficulty to people wanting&lt;BR /&gt;       to get at your code, but none can definitively conceal it&lt;BR /&gt;       (true of every language, not just Perl).&lt;BR /&gt;&lt;BR /&gt;       It is very easy to recover the source of Perl programs.&lt;BR /&gt;       You simply feed the program to the perl interpreter and&lt;BR /&gt;       use the modules in the B:: hierarchy.  The B::Deparse modï¿½&lt;BR /&gt;       ule should be able to defeat most attempts to hide source.&lt;BR /&gt;       Again, this is not unique to Perl.&lt;BR /&gt;&lt;BR /&gt;       If you're concerned about people profiting from your code,&lt;BR /&gt;       then the bottom line is that nothing but a restrictive&lt;BR /&gt;       license will give you legal security.  License your softï¿½&lt;BR /&gt;       ware and pepper it with threatening statements like ``This&lt;BR /&gt;       is unpublished proprietary software of XYZ Corp.  Your&lt;BR /&gt;       access to it does not give you permission to use it blah&lt;BR /&gt;       blah blah.''  We are not lawyers, of course, so you should&lt;BR /&gt;       see a lawyer if you want to be sure your license's wording&lt;BR /&gt;       will stand up in court.&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have F</description>
      <pubDate>Sun, 20 Jun 2004 07:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309923#M711854</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-06-20T07:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding perl script.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309924#M711855</link>
      <description>Such a beautiful explanation clears the fact.&lt;BR /&gt;And its going very deep. &lt;BR /&gt;&lt;BR /&gt;Thanks procura. Thanks i got it. &lt;BR /&gt;10 points to you.&lt;BR /&gt;&lt;BR /&gt;Regards ,&lt;BR /&gt;&lt;BR /&gt;RVeri.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jun 2004 07:53:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309924#M711855</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2004-06-20T07:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding perl script.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309925#M711856</link>
      <description>Hi Raj,&lt;BR /&gt;&lt;BR /&gt;Please assign those 10 points you want to give.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sri Ram</description>
      <pubDate>Wed, 23 Jun 2004 01:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-perl-script/m-p/3309925#M711856</guid>
      <dc:creator>R. Sri Ram Kishore_1</dc:creator>
      <dc:date>2004-06-23T01:27:43Z</dc:date>
    </item>
  </channel>
</rss>

