On Thu, 20 Nov 2003, Gre7g Luterman wrote: > On Thu, 20 Nov 2003 00:00:24 -0700, Bernard Johnson > <[EMAIL PROTECTED]> wrote: > > > Rather than having all the settings #defined in the header file, we > > could instead write the configuration to a separate file. This could > > be really simple, maybe in the format "VARIABLE=value". If it was in > > this format, we could simply read it in and putenv the settings, which > > gets it all in the same place it ends up now. > > Okay, I think I can do that. > > Gre7g.
This is going to be a great feature. Some security implications off the top of my head. Will probably want to test that the config file is not writable by group and others. Should be owned by root in system-wide mode. Should be owned by root or the user running it in single-user mode It's possible some sanity checking may need to be done on the values. Can anyone think of others? -- Tim Rice Multitalents (707) 887-1469 [EMAIL PROTECTED] _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
