Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Where should I have configuration information in a file or database

by irah (Pilgrim)
on May 29, 2009 at 12:53 UTC ( #766852=note: print w/replies, xml ) Need Help??


in reply to Where should I have configuration information in a file or database

In most of the case, the file is simplest way to store the configuration information. We can easily handle like changing configuration information. We don't want to enter into database regularly.

on the basis of security

If you are storing the information in database, you have to give database user name and password in the function to connect database. It may not secure if your are giving program to some other person. But if you are storing in file, it's not needed. But at the same time, the file don't have permissions for other users.

  • Comment on Re: Where should I have configuration information in a file or database

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://766852]
help
Chatterbox?
[ambrus]: No, you're not doing anything wrong. It's just that our automatic spam filters confuse you with the spammers who post advertisments for online shops of counterfeit branded clothing.
[ambrus]: Or unless you left the title field empty or entered a very short title for the node, but then you'd get a message saying that.
[ambrus]: I hope Corion or some other admin is here and can check the logs to see what the problem is.
[mz2255]: I wish I had an online shop but sadly no. The title field definitly wasn't short, had a perl module in the title with 5-6 additional words.
[ambrus]: you can also try to just post again in case it was some intermittent error

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-10-19 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?