RE: Path problem
You could have flash call a CFM page to Load the image and the CFM page could use a CFContent tag to stream a file from another location. This will make it not-secure, but Remember Flash is client-side so it can only access things via URLs (as far as I know)... Unless you get into more Flex stuff and data services probably. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 10:26 AM To: CF-Talk Subject: Path problem I looking to use a flash app to display images which are read from an XML file (slideshowpro) in a password protected admin area of the site. The app requires that the path to each image be pointed as an absolute URL (for example: http://www.somesite.com/images/image1.jpg http://www.somesite.com/images/image1.jpg ). However, the project requires (for security reasons) that the images reside in a non-accessible directory on the server (for example: c:\clientfiles\someSiteFiles\image1.jpg). I have Win 2003, and have tried an IIS virtual directory mapping to this non-accessible directory to /somesiteFiles without luck. Is there a way to make this work, or are there other flash image display apps that would allow this? Thanks, Mark ~| 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/groups/CF-Talk/message.cfm/messageid:256511 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Path problem
Ben, that's a good idea, and I think I can make that work. Thanks, Mark -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 10:35 AM To: CF-Talk Subject: RE: Path problem You could have flash call a CFM page to Load the image and the CFM page could use a CFContent tag to stream a file from another location. This will make it not-secure, but Remember Flash is client-side so it can only access things via URLs (as far as I know)... Unless you get into more Flex stuff and data services probably. ... Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 10:26 AM To: CF-Talk Subject: Path problem I looking to use a flash app to display images which are read from an XML file (slideshowpro) in a password protected admin area of the site. The app requires that the path to each image be pointed as an absolute URL (for example: http://www.somesite.com/images/image1.jpg http://www.somesite.com/images/image1.jpg ). However, the project requires (for security reasons) that the images reside in a non-accessible directory on the server (for example: c:\clientfiles\someSiteFiles\image1.jpg). I have Win 2003, and have tried an IIS virtual directory mapping to this non-accessible directory to /somesiteFiles without luck. Is there a way to make this work, or are there other flash image display apps that would allow this? Thanks, Mark ~| 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/groups/CF-Talk/message.cfm/messageid:256522 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Path problem
I looking to use a flash app to display images which are read from an XML file (slideshowpro) in a password protected admin area of the site. The app requires that the path to each image be pointed as an absolute URL (for example: http://www.somesite.com/images/image1.jpg http://www.somesite.com/images/image1.jpg ). However, the project requires (for security reasons) that the images reside in a non-accessible directory on the server (for example: c:\clientfiles\someSiteFiles\image1.jpg). I have Win 2003, and have tried an IIS virtual directory mapping to this non-accessible directory to /somesiteFiles without luck. Is there a way to make this work, or are there other flash image display apps that would allow this? Flash, like your browser, has no ability to access files on your web server unless those files have valid URLs. What happens if you try to resolve those URLs in your browser? Creating a virtual directory should work, if you do it correctly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore and Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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/groups/CF-Talk/message.cfm/messageid:256533 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Path problem
Indeed browsing directly did work. So I must be missing something inside the flash widget. Thanks for your insight, Dave. Thanks, Mark Flash, like your browser, has no ability to access files on your web server unless those files have valid URLs. What happens if you try to resolve those URLs in your browser? Creating a virtual directory should work, if you do it correctly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore and Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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/groups/CF-Talk/message.cfm/messageid:256547 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4