« Yahoo! Go 1.X is discontinued | Main | Google Indic Transliteration - Cool application »

August 27, 2007

Adobe Flash Player's Security-Sandbox is very restrictive

Adobe Flash Player Security-Sandbox is very good and we have not heard any major security vulnerabilities so far. However, I think, it can be made more intelligent, I have some use-cases where I can't do anything.

XMLSocket API is cool, since it's inception, developers could create cool applications (multi-player games, chat-apps, presence-apps etc). XMLSocket servers (unity, swocket etc) is needed to comply with a specification in order to work with Flash Player (as a client). Since developers are using/creating custom-servers, they could control various things on server-side, f.ex: configuring right security-permissions, serving right policy-file (crossdomain.xml) etc.

With Binary Socket API, in Adobe Flash runtimes, things have changed a lot. Applications (for Adobe Flash runtimes) can now connect to servers using standard protocols (POP3, SMTP, Databases, HTTP etc). Totally cool feature which allows creation of kick-ass applications (Yahoo! Web Messenger, mySql driver etc). But Adobe Flash Player's security-sandbox is limiting Binary Socket's capabilities.

I have been working on a library (as3httpclient) to do more things (http-status-messages, http-authentication over GET request, support for more http-methods etc) which are not supported by URLLoader API. This library (as3httpclient) doesn't work in deployed web-application because Adobe Flash Player's Security-Sandbox restricts it to.

I have following questions/concerns:-

With standards, we expect flexibility. We can't expect a HTTP server to push policy-file to Flash clients? That's not standard.

Technorati tags: , , , ,

Posted by Abdul Qabiz at August 27, 2007 04:52 PM

Comments

When talking about sockets in Flash:
https://bugs.adobe.com/jira/browse/ASC-2844
You can't get info about amount of sended bytes:(

Posted by: maliboo at August 27, 2007 07:32 PM

@maliboo: Yup! I read your comment on Ted's blog, where he talked about your FTP code... I hope, API would be better in upcoming versions of Flash Player.

-abdul

Posted by: Abdul Qabiz at August 27, 2007 07:59 PM

Post a comment




Remember Me?


Please enter the security code you see here

(you may use HTML tags for style)