I don't get it.
&use_password_somehow( &get_secret_password_from_somewhere);
becomes
my $no_longer_so_secret_password = &get_secret_password_from_somewhere; print STDOUT $no_longer_so_secret_password . "\n"; &use_password_somehow( $no_longer_so_secret_password );
In other words, if the app can get the password, so can the developers.

So again 'security thru obscurity' doesn't offer anything.

Musing: and if you don't trust the developers -- who (in some shops) have access to root, to DB root, to CVS sources, to code, to docs, to core data, and (in some shops) have physical access to key servers / routers / etc, and thus could wreak all kinds of malicious stuff, should they be so inclined -- well, then, things certainly don't look so good. Figure out who needs access to what, give the right people access to what they need, and lock down securely (not just obscure) the other stuff for the other folks. And at some level, certain key individuals have to be trusted, bottom line.


In reply to Re: Hiding passwords in scripts by water
in thread Hiding passwords in scripts by Plato

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.