tags:

views:

27

answers:

2

Here's my current crossdomain.xml:

<cross-domain-policy>
   <allow-access-from domain="www.example.com" />
   <allow-access-from domain="example.com" />
   <allow-access-from domain="example-alias.com.com" />
   <allow-access-from domain="www.example-alias..com" />
   <allow-access-from domain="otherexample.com" />
</cross-domain-policy>

I'm going to be adding a few other aliases and subdomians, etc. Can I simplify this to:

<cross-domain-policy>
   <allow-access-from domain="*example.com" />
   <allow-access-from domain="*example-alias.com.com" />
   <allow-access-from domain="*otherexample.com" />
</cross-domain-policy>
+1  A: 

Close.

<cross-domain-policy>
    <allow-access-from domain="*.example.com" />
    <allow-access-from domain="*.mail.other-example.com" />
</cross-domain-policy>
Tegeril
A: 

It's slightly different (you're missing the dot). See the cross-domain policy file specification from Adobe.

Gonzalo
I thought maybe the dot would exclude the no-sub-domain case...
sprugman
Yeah, it's a little bit counterintuitive.
Gonzalo