I’m not sure if I understand the question. That method would be just as secure (or insecure) regardless of whether ColdBox is in use. The rc starts as a combination of the FORM and URL variables, but any values you place in it will not be immediately accessible to your end users.
I’m trying to avoid the path being exposed in the browser’s “View Source” in the src attribute of the IMG tag. The non-coldbox way just shows the link to the getImage.cfm template. I’m trying to port this over to a Coldbox app. Current code is below: