Security Basics mailing list archives

Re: perl script credential security


From: "Neil Jonkers" <njonkers () uwc ac za>
Date: Fri, 10 Sep 2010 22:05:28 +0200

Hi,

1. Config file, that is only readable by the account that will run the cron job.
2. An Encrypted config file, let your Perl script decrypt the config file to get the database login details. 

Regards
<bryceverdier () gmail com> 2/19/2010 08:47 PM >>>
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 
------------------------------------------------------------------------


All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal

------------------------------------------------------------------------
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: