crossdomain.xml for subdirectory level
hi
we need deploy crossdomain.xml on our webserver, host name remains same across different websites,
how can add restrictions @ sub-directoty level (website1)?
the urls below, how can add restriction have website1?
www.mysite.com/content/website1/test.html
www.mysite.com/content/website2/test.html
www.mysite.com/content/website3/test.html
e,g,
<?xml version="1.0"?>
<!doctype cross-domain-policysystem "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.mysite.com" secure="false" />
<allow-access-from domain="mysite.com" secure="false" />
</cross-domain-policy
thanks!
at root level use crossdomain.xml:
<!doctype cross-domain-policy system "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<!---
this should in root , allows policy files gives access no domains.
a policy file (eg, crossdomain2.xml) in subdirectory allow-access-from allows domain access to
the directory, , dependent subdirectories, contain crossdomain2.xml
-->
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
and in subdirectory want allow access, use crossdomain2.xml:
<?xml version="1.0"?>
<!doctype cross-domain-policy system "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<!---
this policy file (eg, crossdomain2.xml) in directory allow access directory , subdirectories
if there's root policy file allowing cross-domain-policies (eg, crossdomain.xml)
-->
<cross-domain-policy>
<!--<allow-access-from domain="www.adobe.com" />-->
<allow-access-from domain="www.adobe.com" />
</cross-domain-policy>
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment