Macromedia Flash Server - RE: file upload functionality/security (was FCSWhiteboard)

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > April 2005 > RE: file upload functionality/security (was FCSWhiteboard)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: file upload functionality/security (was FCSWhiteboard)
Dennis Baldwin

2005-04-07, 5:49 pm

John,

You could implement a hidden frame that handles the upload behind the
scenes. So the file dialog is triggered from Flash which calls a JS method
and targets a form in the hidden frame. It's a hack but it seems to get the
job done. I implemented one in CF a few years back and I don't think it
would take much to convert to php or whatever technology you're using:

http://www.flashcfm.com/tutorial_se...?keyword=upload

I know there are all kinds of examples on-line and this version is IE
specific. I believe Yamago has a crossbrowser compatible version:

http://www.yamago.net/components/

I hope this helps.

Take care,
Dennis

> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org]On Behalf Of John
> Robinson
> Sent: Monday, February 21, 2005 9:12 PM
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] file upload functionality/security (was
> FCSWhiteboard)
>
>
> Simon -
>
> This all makes perfect sense, but what I don't understand is why we
> don't (can't) have something like we have in plain-ol' html... a
> file-upload ("multi-part" I think it's called?) form element? That's
> the only thing we are missing. I don't think I'd be happy with an fcs
> based solution. I'd rather not be tied to one product when there are so
> many good options available already.
>
> What would be the difference if I used an html form or an swf to submit
> a file to a php/cgi/etc script? Both are open formats and script
> kiddies can see exactly what cgi is handling the upload just by looking
> at the source for the html. The trick is that using php you have great
> control over what gets uploaded and where it goes.
>
> Just my thoughts.
>
> John
>
>
>
> On Feb 21, 2005, at 3:55 PM, Simon Lord wrote:
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com