crossdomain.xml on HTTPS location


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.mytest.com" secure="false" />

<allow-access-from domain="mytest.com" secure="false" />

</cross-domain-policy

 

 

thanks!

theoretically if want control subdirectories - need place crossdomain.xml topmost directory want protect. in case may be:

 

www.mysite.com/content/website1/crossdomain.xml

 

with said, flash strill attempt load xml root - need load policy explicitly:

 

security.loadpolicy("www.mysite.com/content/website1/crossdomain.xml");



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support