Home page logo

basics logo Security Basics mailing list archives

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


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,


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.


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]