If you really want to secure Perl code I would say you would have to hack the perl binary. Of course you would be in a licensing jungle in that a lot of commonly used modules are released under the GPL and not under PAL, so you'd have problems there. And if you allowed the user write access to _any_ such source then they would have an opportunity to bypass your security measures and use deparse to recreate the code. So IMO a properly secured Perl based application A) isnt going to use the normal Perl exe, and B) is probably going to be functionally crippled to the point where id be curious if it would be worth it.

IMO a lot of the more intelligent businesses are going to want source code level access anyway, so I dont really see the point. Of course there are enough stupid companies that wont that you could probably make a business out of it anyway.

---
$world=~s/war/peace/g


In reply to Re: using source filter with mod_perl scripts by demerphq
in thread using source filter with mod_perl scripts by avo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.