> -----Original Message----- > From: Damien McKenna [mailto:[EMAIL PROTECTED] > Sent: 26 April 2005 14:00 > To: CF-Talk > Subject: OT: DSN handling for production server > > It has been mentioned here recently that the database login information > for a production server should not be stored in the Coldfusion > administrator. > [Kola Oyedeji]
Mentioned where? > First off, for a dedicated server, why? > > Secondly, what is a good way to solve this? [Kola Oyedeji] Well the setting for DSNs are stored somewhere on the server, IIRC in one of the xml files > > Lastly, would this work: > <cfquery name="myQuery" #application.db_string#>#sql#</cfquery> [Kola Oyedeji] This portion: #application.db_string#># would not work, you would need to set each attribute e.g. dsn="#mydsn#" etc. HTH ~K ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204444 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54