Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Protect source code

by Andu (Initiate)
on Jun 10, 2003 at 13:03 UTC ( [id://264654]=perlquestion: print w/replies, xml ) Need Help??

Andu has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Protect source code
by Mr. Muskrat (Canon) on Jun 10, 2003 at 13:24 UTC
Re: Protect source code
by EvdB (Deacon) on Jun 10, 2003 at 13:14 UTC
    This node, Why is it bad to hide the source?, goes inte quite alot of detail as to why it may not be a great idea .

    If you are trying to hide the code from others on the same machine (ie cgi) then it is harder. You could try to set the permissions such that the code is still visible to those who need it, and not to those who don't.

    The problem with obfuscating it is that once you have de-obfuscated one of your scripts then it is trivial to do it to other scripts obfuscated in the same way.

    Not an answer to your question though...

    --tidiness is the memory loss of environmental mnemonics

Re: Protect source code
by Skeeve (Parson) on Jun 10, 2003 at 13:13 UTC
    You can't protect it from too curious eyes. But you might want to obfuscate your code ;-)

    And then there should also be some "compilers" for perl.

    But too curious eyes won't hinder that for long, I think.

    You might also want to search here or look here

Re: Protect source code
by Anonymous Monk on Jun 10, 2003 at 13:29 UTC
    Source hiding techniques can be broken, but so can legs. Try a baseball bat, and let us know how it goes.
Re: Protect source code
by novitiate (Scribe) on Jun 10, 2003 at 15:00 UTC
    Lord give me the strength to....serioulsly, if i had a rep
    point for every time i've seen this question. all questions
    deserve an answer though:

    From "curious eyes"....try Acme::Bleach
    From "downright determined eyes"....try not programming


    humbly,
    novitiate

    "...goodnight you princes of main(e)"  --The Cider House Rules
Re: Protect source code
by bm (Hermit) on Jun 11, 2003 at 09:21 UTC
    wisdom needed: how do I protect the code from (too) curious eyes, besides deleting it

    Sure, that is easy:

    chmod 500 file

    :-).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://264654]
Approved by Tanalis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-24 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found