Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Why is it bad to hide the source?

by idnopheq (Chaplain)
on Aug 28, 2001 at 13:57 UTC ( #108383=note: print w/ replies, xml ) Need Help??


in reply to Why is it bad to hide the source?

Allow me to add one ...

- "But my code contains ( my | a privilliged | root's ) password!"

Hmm! The only way to address this issue is to go ahead and post the code w/ the real password and the IP address of the server. HHOS! Storring any kind of uber sensitive data, like root's password, in a script is not only generally bad form, but a *H*U*G*E* security issue as well.

If one feels a necessity to do this, don't. There's usually a better way, like running it as a cron job or daemon or interactively. Ask the monks; read the holy texts. Some monk likely addressed such an issue in the past and devised an elegant yet functional solution ( like encasing the server in concrete and sinking it in the Atlantic ). Worst case, it will provide the Monastary an interesting query.

UPDATE: oh, yeah ... it is likely legally sticky to store privilliged info in your code ... due dilligence and all that ...

HTH
--
idnopheq
Apply yourself to new problems without preparation, develop confidence in your ability to to meet situations as they arrise.


Comment on Re: Why is it bad to hide the source?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://108383]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2015-07-07 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls