Re: A question about CGI

2006-02-16 Thread Tom Phoenix
On 2/16/06, Tom Allison <[EMAIL PROTECTED]> wrote: > Stick it in a seperate file and read it in from there? Exactly. Your program should have the permission to read the file, but nobody else should. That may require that the program run set-id, maybe with a wrapper; see perlsec for more informati

A question about CGI

2006-02-16 Thread Tom Allison
The easy thing would be to run a CGI script that connects to a database by putting the username and password right in the script. That's a great idea as long as I never have a condition where the script does a 'dump' to the screen. I'm not a fan of 'never'... So... What are the options? Sti