How to protect a form HTML/PHP with JS callback to AS3

Posted by Jk_ on Stack Overflow See other posts from Stack Overflow or by Jk_
Published on 2010-06-01T01:11:29Z Indexed on 2010/06/01 1:23 UTC
Read the original article Hit count: 211

Filed under:
|
|
|
|

Hi guys,

I'm developing a Flash website (as3) where I need to be able to upload directly to YouTube by using the DATA API.

However in order to do so, I had to use a proper HTML form on top of my flash object.

Why? Because of the Browser Based Upload restictions.

I first hide the form using JQuery and with a little CSS the form is display just where I want it.

Within flash I use ExternalInterface.call() to show/hide the form when I need it!

ExternalInterface.call("YTUploader.showIt");

The upload process is working great my only problem is that the form can be displayed easily...

You just need a tool like firebug and you can use the form wherever you want on my flash app.

So I was wandering which will be the best way to 'protect' this form or the best way to limit its access.

Any advices will be appreciated.

Thanks for your time.

Jk.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about flash