>From what I've been able to find in random posts, comments, and articles regarding Wikimedia, a universal cross-domain-policy xml does not exist on the WMF servers specifically due to a potential security risk, which is mentioned in the article QQ just linked. The author of that article also states that these security issues are limited to the specific directory where the crossdomain.xml file is located and that the developer would have to specifically call on that file to facilitate the connection. If that is true, might it be possible to setup a directory (if one doesn't already exist) where basic, read-only queries can be implemented to open up the WikiMedia content to Flash developers?

Alternatively, I was wondering if it might be possible to set my server up as a sort of proxy to go between Wiktionary and the Flash program. If I can use PHP, JavaScript, or HTML to query the WMF database and retrieve the desired definition, then I should be able to forward that information on to the game that requested it using my own cross-domain-policy.

Any thoughts would be appreciated!
Aaron.

On Wed, Jun 9, 2010 at 4:05 PM, OQ <overlordq@gmail.com> wrote:
On Wed, Jun 9, 2010 at 3:59 PM, Roan Kattouw <roan.kattouw@gmail.com> wrote:
> 2010/6/9 Aaron Ward <edugamer@gmail.com>:
>> Am I simply using the incorrect api calls for this? Or should I be
>> approaching this from an entirely different angle? The end goal is to search
>> Wiktionary for the definition of a dynamically submitted word from within a
>> Flash AS3 program, so I don't think there should be any problems with
>> restricted information.
>>
> Yes, you're taking a totally wrong angle here. Any cross-domain
> restrictions are imposed by Flash or whatever it is you're using to
> send your HTTP requests. The API or WMF's servers have nothing to do
> with this: Flash or the browser or whatever is preventing your
> requests from ever being sent.

Actually with flash, the WMF servers do have something to do with it.
Flash would require[1] a crossdomain.xml file on them to permit its
access.

1 - http://www.adobe.com/devnet/flashplayer/articles/cross_domain_policy.html

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api