IMHO. it does not serve security purposes - the only thing it can be used for is license validation. Let us say you want to wrap access to yahoo financial services that has limits on number of free requests per IP address per day. The only way you bypass crossdomain.xml is by proxing all the requests through your server as the only way to get the data. That in turn inforces usual industry licensing requirements - enabling real data provider identify your server.
I think the documentation has to clearly identify crossdomain as not security, but license enforcement feature - or be changed to give control to the client application rather then server.
Thank you,
Anatole Tartakovsky
PS: DOS attack protection is unlikely as Flash 1.5 uses the same amount of connections that are allowed by the browser to AJAX (2 by default) and can not be a threat as it offer less control to the offender then usual HTTPRequest in mxml (Microsoft XML) parser.
 
----- Original Message -----
Sent: Monday, February 13, 2006 9:11 PM
Subject: [flexcoders] Benefits of Flash Security Model and crossdomain.xml

I must be missing something, but I'm a bit confused as to the design
of the Flash Security Model and crossdomain.xml.

My main question is who is this model intended to protect?

As I undestand it, this protects third party servers from disclosing
their "data" to flash clients.  That is, if you do not have a cross
domain file on a third party server, a flash program cannot access the
data.  But, any other program (e.g. ,a web browser, socket program,
etc) could easily access this data. It's up to the client to recuse
itself (and only flash clients recuse themselves).  It would seem for
a server to protect itself, it would have to enforce the protection,
not the client.

My expectation was that this was more like a Java sandbox which
prevented a program from accessing other sites for the protection of
the client, not the server.  In such a scheme one might expect the
crossdomain.xml file to be controlled by the server which served the
flash application (not the 3rd party server)  ... a chain of trust.
If it's controlled by the 3rd party, then there's not a huge amount of
protection.

So I can't see any benefit of letting the thrid party server be in
control of this file.  If the crossdmain.xml file is to protect the
server, then it misses the case where non-flash clients can access the
server.  If it is to protect the client from a malicious thrid party,
the third party can simply add a crossdomain.xml file to their site.

Perhaps this is to avoid DOS'ing a third party site from a flash app,
but attempting to grab the crossdomain.xml file could be a form of
attack (although arguably less intensive).

So what am I missing here?

Perhaps there are use cases that I don't see that this model affords
protection either to the client or the server.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to