You should do it the exact same as a download serving script. As well, keep
in mind that if you've included a timestamp within your "key", that you have
to give some grace for latency.

!k

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: April 21, 2006 8:12 AM
To: CF-Talk
Subject: Serving flash with cfcontent

I'm trying to serve flash using cfcontent to prevent users from linking 
directly to the flash file.

Basically, I'm creating an encrypted URL parameter in the cfm file with 
the embedded flash, and tacking it onto the url ... the cfm that serves 
the flash checks the url to make sure it's valid and serves the flash - 
otherwise it serves an alternative "No direct linking" flash.

However, the .cfm tries to send the flash file as a download so I'm not 
sure how to cause it to NOT do that.

Here's my cfcontent tag

<cfcontent file="myflashfile.swf" reset="Yes" 
type="application/x-shockwave-flash">

Should I also be using CFHEADER or something?

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238387
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to