Dave,

What if you were to encrypt the path with ColdFusion, and then stuff the
encrypted string into a JavaScript variable like so:
var daPath =
'<cfoutput>#Encrypt('/clients/images',myKey,"DESEDE")#'</cfoutput>;

Then whenever you need to display an image, use JS to decrypt the
variable (a view source would only show the encrypted string).  I have
no idea if such a scheme would work, but I'd think you could find an
encryption algorithm that both CF and JS understand.  This method would
not stop a determined hacker, but it would deter the casual surfer.
Also, this would offload the work to the user's browser;  which of
course means you might run into browser compatibility issues.

> -----Original Message-----
> From: Dave Lyons [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 21, 2006 2:01 AM
> 
> James,
> I'll give that a go, i thought about it before but was a lil 
> worried about performance doing that. thanks
> 
> Michael,
> Thats not a real possibility because those same images will 
> be constantly viewed by hundreds of continuous users 24x7 
> (hopefully), so I can't be moving and deleting them all the 
> time it would be murder on the server.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247317
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to