If I happened to be on a host who had disallowed the <cfcontent> tag and I was trying to serve a customer a file which they had just purchased, would there be an alternative way in coldfusion 4.5, 5 to deliver that file without exposing the path to the link? ie I want to be able to authenticate users before letting them download particular files.
To serve the file from outside of the webroot? No.
Another mechanism is to copy a temp file to a location under the webroot -- give the person a while to download and then remove. But I suspect your shared host will be blocking CFFILE :(
Can MX do this another way?
CFMX has a Java sandbox (under Enterprise). With the sandbox in place there is no reason why CFCONTENT should be prohibited.
It's the built-in things like CFCONTENT, CFFILE etc that really differentiates CF from other platforms.. but heh I'm preaching to the converted.
-- geoff http://www.daemon.com.au/
PS. MXDU tickets on sale now!
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
