Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Acme Enc

by perlsameer (Initiate)
on Jul 23, 2008 at 13:04 UTC ( #699600=perlquestion: print w/replies, xml ) Need Help??

perlsameer 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: Acme Enc
by marto (Cardinal) on Jul 23, 2008 at 13:42 UTC
    Please do not place too much stock in the "security" you may think you have achieved using Acme::Enc. See posts like Close Perl Code (similar posts can be found, Super Search is your friend) which highlight this point. Also, if you do not want to display things on a web page, why are you including them in the data which is returned to the browser?

Re: Acme Enc
by leocharre (Priest) on Jul 24, 2008 at 02:25 UTC

    Why are you trying to hide your source code?

    Don't depend on obscurity for security. It goes against everything the people who made perl, ssh, the modules you're using- believe in.

    It's not about morality- It's just poor practice. You will ultimately end up introducing new bugs, making your program slow- turning off anybody who may want to help- including the community and your co-workers! :-D

    Check out Acme::Bleach.

    I know it seems counter intuitive. But- do you like perl, apache, firefox, etc? These things work partly because it's not about hiding code. Making the conversion of philosophy from hiding things- to showing everything- is hard but you will grow and become stronger. Your stuff will work better and be more secure also.

    If you must 'hide' things- "hide" config files with precious db acces parameters, etc- by chmodding them so only you or our software can read them. Your script in /home/myself/public_html/cgi-bin/precious.cgi could use YAML to read a config file in /home/myself/not_inside_webshare/precious.conf

    Here, check this out, about security through obscurity. Obviously I want you to read the part that says 'arguments for'.
    Also skim through some of this interview with Stallman, and some of the gnu ideology, it may energize you and inject you with ambition and good energy.

Re: Acme Enc
by svenXY (Deacon) on Jul 23, 2008 at 13:09 UTC
    please read How (Not) To Ask A Question and provide at least some example code that reproduces your problem to make it easier for us to help you.
Re: Acme Enc
by Popcorn Dave (Abbot) on Jul 24, 2008 at 02:07 UTC
    Unless you're Wile E. Coyote Genius, you should probably stay away from the ACME modules for anything serious. ;)

    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2022-01-23 02:47 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (63 votes). Check out past polls.