On Wed, 2003-10-29 at 18:20, Geoff Bowers wrote:
> James Cowperthwaite wrote:
> > 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.

>From inside the webroot is fine (actually I dont have a choice...) Its
more about not allowing anyone to know where the files live and then
just leach them all.

> 
> 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 :(

CFFile is active - but we would like the user to be able to come back
and download if it is interrupted etc

> 
> > 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.

May have to upgrade server to MX... fun fun

Thanks
James

> 
> 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


---
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

Reply via email to