I never understood this one.

Why is:

<CFQUERY DATASOURCE = "#Request.MainDSN#"

in a template better than

<CFQUERY DATASOURCE = "#Request.MainDSN#" UserName = 
"#Request.User#"  Password = "#Request.Pass#"

security-wise?

best,  paul

At 08:51 PM 10/26/00 -0400, you wrote:
>Yup...don't.  Never ever.  Set the username and password in the ColdFusion
>Administrator instead.  Click the Advanced button when editing the
>datasource you're setting up, and enter the username and password in the
>boxes supplied.  That way you aren't hardcoding usernames and passwords in
>your templates

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to