Security Basics mailing list archives

script credentials


From: Bryce Verdier <bryceverdier () gmail com>
Date: Fri, 19 Feb 2010 10:00:51 -0800

Hello,

So I've been writing a Perl script for my job. The script will be run from a cron job (interval not yet set) and deposit some information to a database. The database has a user with minimal rights to insert data.

So my question is with regards to how should the database user credentials be kept. So far the discussion has had three options:

1) credentials within the script
2) command line
3) config file

Each one has their own advantages & disadvantages but I would like to get the opinion of the community as to which one gets the label of "best practices".

Thanks in advance guys,

Bryce

------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how 
it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, 
install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are 
highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------


Current thread: