I'm new to programming and I'm trying to find some answers. I wrote a few python cgi scripts for my website all of which access a mysql db on 'localhost'. My question is, Is it a bad idea to have my username and password for my db coded in my script? Is there a better way to make sure that information can't be acessed? Obviously I wan't to make sure that my *.py can't be downloaded from /cgi-bin and give anyone access to my db's.
Cory -- http://mail.python.org/mailman/listinfo/python-list