Re: Adding Salt and Password Hash to existing acocunts

2013-03-06 Thread Torrent Girl
When I performed this same task a few months ago, I basically wrote a page that did all the salting and updating as a loop. Obviously I had decided on the actual process for login and tested it to make sure it worked. I just increased the size of the password column, added a salt column and ran

Re: Adding Salt and Password Hash to existing acocunts

2013-03-06 Thread Rob Parkhill
Here you go. Cfquery name=GetUserPasswords select memberid, password from users /cfquery cfoutput#getUserPasswords.RecordCount#/cfoutput!---Just to see how many we have --- Cfset salt = ''/ cfset newpassword = ''/ Cfset count = 0/ cfloop query=GetUserPasswords cfset salt =

CF10 install question

2013-03-06 Thread Stephens, Larry V
We have just installed CF10 standard edition 64 bit along with, Windows Server 2008 R2 with IIS 7.5 and IE9 on a virtual machine. Everything appears to install correctly. We enter a username and password as part of the setup and then, at the end of the install, we are dumped to the

Re: CF10 lockdown question

2013-03-06 Thread Pete Freitag
Hi Larry, There has been a LOT of attacks targeting ColdFusion lately, it's time for us all to step up our security practices. There is a lot you can do to harden your server installation, and your application code beyond what you have mentioned. Security is one of those things that you can

Re: CF10 install question

2013-03-06 Thread Russ Michaels
I recall seeing a similar issue recently that was related to the time sync on the server being wrong. Perhaps worth checking that ? On Wed, Mar 6, 2013 at 4:41 PM, Stephens, Larry V steph...@iu.edu wrote: We have just installed CF10 standard edition 64 bit along with, Windows Server 2008

Re: CF10 lockdown question

2013-03-06 Thread Billy Cravens
+1 to FuseGuard. Implemented this on a site this a *lot* of SQL injection issues. No firewall or similar product is a substitute for well-written code, but putting this in place stopped the hemorrhaging overnight. +1 to HackMyCF as well. Use this on the main site I support, and I'm very happy

Debugging AMF call

2013-03-06 Thread Rick Root
As you may know, I've recently migrated our web server from CF8 to CF10. have an old app that I wrote with Flash MX 2004 =) The /flashservices request was erroring with a 404, but with this advice ( http://inflagrantedelicto.memoryspiral.com/2012/12/flashservicesgateway-and-coldfusion-10/) to

Re: Anyone see anything wrong with the syntax of the query?

2013-03-06 Thread Rick Root
And, in this case, having cfqueryparam helps you debug weird errors that you'd get when a field that is expected to be numeric is blank or not numeric. Ie where myField=#someval# will result in an unrecognizable syntax error if #someval# is an empty string, and the line number will be the end

Re: Debugging AMF call

2013-03-06 Thread Cameron Childress
On Wed, Mar 6, 2013 at 3:25 PM, Rick Root rick.r...@gmail.com wrote: and amf response tabs, but the amf request just says cc is not defined and the amf response says missingResponse Use Charles to view the entire AMF reply: http://www.charlesproxy.com/ Smells like CF is throwing an error of

Re: Anyone see anything wrong with the syntax of the query?

2013-03-06 Thread Russ Michaels
I used cfparam to do that before cfqueryparam existed. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Mar 6, 2013 8:37 PM, Rick Root rick.r...@gmail.com wrote: And, in this case, having cfqueryparam

Space in a Struct Key

2013-03-06 Thread Jenny Gavin-Wear
Getting very rusty, can't remember how to access a key in a struct that has a space in it. Example:- imageMetaData.exif.Focal Length How would I cfoutput that, for example? Would someone put me out of my misery, please? Thanks, Jenny -- I am using the free version of SPAMfighter. SPAMfighter

Re: Space in a Struct Key

2013-03-06 Thread Russ Michaels
Structname[your key] Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Mar 6, 2013 10:18 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Getting very rusty, can't remember how to access a key in a

Re: Space in a Struct Key

2013-03-06 Thread Matt Quackenbush
structName[ keyName ] if unknown, otherwise ... structName[ 'key name with space' ] On Wed, Mar 6, 2013 at 4:17 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Getting very rusty, can't remember how to access a key in a struct that has a space in it. Example:-

Re: Space in a Struct Key

2013-03-06 Thread Andrew Scott
Rule of thumb, keys should not have spaces. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Mar 7, 2013 at 9:17 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Getting very rusty, can't remember how to

anybody using Oracle RAC 11g R2 ?

2013-03-06 Thread Chris
Is anybody using Oracle RAC 11g R2 ? How do you connect the ColdFusion datasources? Our customer is updating to 11g R2. The only official support I see is for 11g R1: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/coldfusion9-support-matrix-4-ue.pdf I've

RE: Space in a Struct Key

2013-03-06 Thread Jenny Gavin-Wear
This fails:- cfoutput#[imageMetaData][exif][Focal Length]#/cfoutput and I am sure I tried every other combination except the right one. You can see the structure here:- http://gallery.fasttrackonline.co.uk/admin/images/test.cfm CF7, if that makes any difference. -Original Message-

RE: Space in a Struct Key

2013-03-06 Thread Matt Quackenbush
The only brackets should be the ones with quotes inside. Not sure why you added those other brackets; they're not in Russ' or my examples. On Mar 6, 2013 5:13 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: This fails:- cfoutput#[imageMetaData][exif][Focal Length]#/cfoutput and I

Re: Space in a Struct Key

2013-03-06 Thread Dave Watts
This fails:- cfoutput#[imageMetaData][exif][Focal Length]#/cfoutput and I am sure I tried every other combination except the right one. You can see the structure here:- http://gallery.fasttrackonline.co.uk/admin/images/test.cfm If the structure is imageMetaData, and it has a key called

RE: Space in a Struct Key

2013-03-06 Thread Jeff Garza
If you are going to use bracket notation, you need to use quotes for struct keys that are not variables. #[imageMetaData][exif][Focal Length]# - Coldfusion will be looking for a variable called exif. Try this instead: #imageMetaData[exif][Focal Length]# should work. -- Jeff

RE: Space in a Struct Key

2013-03-06 Thread Jenny Gavin-Wear
Could kick myself, thought I had tried that. Thanks Dave. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: 06 March 2013 23:18 To: cf-talk Subject: Re: Space in a Struct Key This fails:- cfoutput#[imageMetaData][exif][Focal Length]#/cfoutput and I am sure I

RE: Space in a Struct Key

2013-03-06 Thread Jenny Gavin-Wear
Many thanks, Jeff. -Original Message- From: Jeff Garza [mailto:j...@garzasixpack.com] Sent: 06 March 2013 23:18 To: cf-talk Subject: RE: Space in a Struct Key If you are going to use bracket notation, you need to use quotes for struct keys that are not variables.